getting issue while invoking a Asp.Net Core Web API from Xamarin
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.
I suggest you could create a custom HttpMessageHandler to add the token to the request and use MobileServiceClient send the request.
|All times are GMT -7. The time now is 02:04 AM.|
Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
vBulletin Security provided by vBSecurity (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.