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


O

Ojusvee06

New Member
#1
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.
 
fisicx

fisicx

Active Member
#2
This is a graphic design forum. You will get a better response if you ask the question on the azure support site.
 
O

Ojusvee06

New Member
#3
Okay @fisicx. But I posted in development category an I also posted on azure and asp community. But no getting any satisfactory replies.
 
Levi

Levi

Moderator
Staff member
#5
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.
 
M

mohit0707

New Member
#7
I suggest you could create a custom HttpMessageHandler to add the token to the request and use MobileServiceClient send the request.
 
Top