ASP.NET API - .NET 4.7.2 not .NET Core

I am trying to authenticate a Xamarin app that works with an API running on .NET 4.7.2. The whole site uses Azure AD. I got most of it working to move to Auth0 but not the Xamarin app.

The only code sample is for .NET CORE. Specifically, it uses IApplicationBuilder and IHostingEnvironment which are not objects available in .NET other than .NET Core. It also uses a version of IServiceCollection specific to .NET Core.

Are there any code samples or guidance to enable to use a Xamarin app with this legacy API? It is even possible?

Thanks in advance,


Don’t bother with this. I have rewritten my API. Now I have other problems.