Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Connect to backend web api on Android Emulator

$
0
0

Hi,

I'm using visual studio 2019.
I created new xamarin project, chose tabbed template and included backend web api.
I tested the app on android emulator, it worked perfectly when using MockDataStore class and returns a list of items.

Whenever I try to use AzureDataStore, the list returns No records.
I tested the link "http://10.0.2.2:5000/api/item" on emulator browser, it worked and return json items as expected.
I only can't get it worked inside the app.

Any idea?


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>