Xamarin and ASP.NET Core
-
Securing the Backing API of Your Xamarin App With Social Logins and ASP.NET Core 2, Part 1
Letting users sign in to a Xamarin app with Google, Facebook or Twitter while the login happens on the ASP.NET Core 2 server: choosing the OAuth flow and setting up the project.
-
Securing the Backing API of Your Xamarin App With Social Logins and ASP.NET Core 2, Part 2
Continuing the social login setup: configuring the external providers on the ASP.NET Core 2 API and connecting the browser-based login to the Xamarin app.
-
Xamarin on Android: Bypass SSL Verification With HttpClient
Disabling certificate checks for HttpClient on Xamarin Android means subclassing AndroidClientHandler with your own socket factory and hostname verifier. For testing only.
-
ASPNETCORE 2.0 Identity – Redirect URL signin-* Returns 404
After migrating to ASP.NET Core 2.0, external login callbacks return 404. Authentication is no longer added to the pipeline implicitly, so UseAuthentication must be called.
-
Xamarin: Failed to create JavaTypeInfo for class … due to System.NullReference Exception
A JavascriptInterface method taking System.Object breaks the Xamarin Android build. The Java code generator cannot map that type, and Java.Lang.Object is what it needs.