getting issue while invoking a Asp.Net Core Web API from Xamarin

Ojusvee06

New Member
I am using the MobileServiceClient (Microsoft.Azure.Mobile.Client version 4.0.1) with the InvokeApiAsync method to do the call but always fails with a null exception. If I call an API that does not have authorization, it works fine.
So my question is if I can use the MobileServiceClient or this doesn't want to work with .NET Core. I don't want to call my APIs with HttpClient.
 
This is a graphic design forum. You will get a better response if you ask the question on the azure support site.
 
To be fair that's quite a specific use case scenario from what I can tell. While there may be someone on this forum who has done similar I think you'll find the information you need quicker on a dedicated azure or xamarin forum.
 
I suggest you could create a custom HttpMessageHandler to add the token to the request and use MobileServiceClient send the request.
 
Back
Top