Authenticate users through Facebook using Xamarin.Auth

Authenticate users through Facebook using Xamarin.Auth

Following the previous post on Google authentication, I will now focus on how to authenticate on Facebook with Xamarin.Auth and retrieve the user’s email address. In case you missed the Google post, you can read all about it here: Authenticate users through Google with Xamarin.Auth As previously, a sample is available on GitHub: https://github.com/TimLariviere/Sample-XamarinAuth-Facebook Facebook authentication with Xamarin.Auth Unlike Google, Facebook doesn’t require us to use native SDKs to authenticate users. So we can let the IsUsingNativeUI flag of Xamarin.Auth…

Read More Read More

Authenticate users through Google with Xamarin.Auth

Authenticate users through Google with Xamarin.Auth

I’ve recently worked on a Xamarin app that needed to authenticate its users against Facebook, Google, and Twitter, and needed to retrieve their email addresses. Xamarin.Auth did the heavy lifting for us, handling all the OAuth authentication flow. But configuring it for Facebook, Google, and Twitter can be complicated as their configurations are (not so) slightly different. After quite a bit of struggle, I decided to share every single steps that led me to successfully implement authentication and getting the…

Read More Read More

One Mac. Small Xamarin team. How to. Part 2

One Mac. Small Xamarin team. How to. Part 2

Welcome in this long awaited part 2 of the serie “One Mac. Small Xamarin team. How to.”. In part 1, we saw what possibilities in terms of hardware are available when developing for iOS with Xamarin (if you missed it, it’s still time to read it). Today, I will explain how to leverage a single Mac for a small team, and how to enable simultaneous debugging between developers. This post is applicable to every Mac machines. A good candidate for such a setup…

Read More Read More

Call an Azure AD protected API in Xamarin/UWP apps

Call an Azure AD protected API in Xamarin/UWP apps

When we talk about mobile apps, a web API is generally hiding in the background, doing most of the work like connecting to a database, verifying authorization, computing data, and so on. Like everything else, those APIs need protection against unauthorized calls that don’t come from our mobile apps. In this post, I will explain how to leverage Azure Active Directory to protect our WebAPI without any code, and how to call this WebAPI from our mobile apps. So, how…

Read More Read More

.NET Core – Hide file / folder from project in Visual Studio 2015

.NET Core – Hide file / folder from project in Visual Studio 2015

A few warnings before we begin : This post is only about Visual Studio 2015. In Visual Studio 2017, you can find the option “Hide from Solution Explorer” in the context menu. Also this post is only about xproj-based projects. It applies to .NET Core libs and apps like ASP.NET Core. The next version of .NET Core (2.0) will revert back to csproj files. Unlike csproj-based projects where files need to be referenced in the csproj, with xproj-based projects Visual…

Read More Read More

One Mac. Small Xamarin team. How to. Part 1

One Mac. Small Xamarin team. How to. Part 1

When targeting iOS, whichever technology you choose (ObjC/Swift, Cordova, Xamarin, etc.), Apple requires you to build your application on a physical Mac machine. Running MacOS in a virtual machine on a non-Apple machine is not an option, as it is forbidden by Apple. In this serie, we will look at the available options for a small team of Xamarin developers (up to 5 devs). This post is a brief look at the possibilities offered to us in terms of hardware…

Read More Read More

Xamarin.iOS – Encoding errors when deploying from Xamarin Studio on Mac

Xamarin.iOS – Encoding errors when deploying from Xamarin Studio on Mac

If you’re developing a Xamarin.iOS app with Visual Studio on Windows, and that app happen to display accented characters, you may find that when deploying it from Xamarin Studio on Mac the accents are replaced by a question mark, but those accents are correctly displayed when deployed from Visual Studio. This is a known bug caused by the Storyboard Editor in Visual Studio. Whenever you set the class name of a ViewController or control, Visual Studio generates the associated class…

Read More Read More

Xamarin – Using SQLite.NET Async with PCL

Xamarin – Using SQLite.NET Async with PCL

With Xamarin, it is now easier than ever to share most of the logic between your apps. Most today’s apps use a lot of data, so deciding how to store them locally can prove a challenge. SQLite provides a great way to store and query those easily and does support Xamarin. In the original post, we’ll see how to setup SQLite in a portable project (PCL) shared by two Xamarin projects (Android, iOS) and a UWP project in Visual Studio….

Read More Read More

#UWPXAML – Compiled Binding – What’s new in the Anniversary Update?

#UWPXAML – Compiled Binding – What’s new in the Anniversary Update?

Coming this summer, Windows 10 Anniversary Update will be more or less a Windows 10 v2.0. With it comes a lot of new things for the windows app development, and a lot of new features and fixes for Compiled Binding. By reading the original post at https://mcnextpost.com/2016/07/11/uwpxaml-compiled-binding-whats-new-in-the-anniversary-update/, you’ll see what those new features are and how to use them.

#UWPXAML – Compiled Binding – Incremental rendering with x:Phase

#UWPXAML – Compiled Binding – Incremental rendering with x:Phase

Coming with Windows 10 are a lot of new features especially for XAML when creating a Universal Windows Platform application aka. UWP app. We can mention a few of them: new controls (as the RelativePanel, the SplitView and more); new tools for building responsive and adaptive UI (AdaptiveTrigger, Extension SDKs, etc.); and a new way to bind data to the UI, Compiled Binding. Enhancing performances and reducing UI slugglishness with incremental rendering and x:Bind, that’s what the original post is…

Read More Read More