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

How to use Azure Mobile Services from Xamarin.Forms?

$
0
0

Hi!

I try to use the Azure Mobile Services from my simple Forms app and it don't work. The last command just run forever. I checked the internet connection with a WebClient and it is okay. The code works fine in a simple Windows console application.

            var ms = new MobileServiceClient(
                @"https://xxx.azure-mobile.net/",
                @"xxx"
            );

        IMobileServiceTable<TodoItem> todoTable =
            ms.GetTable<TodoItem>();
        List<TodoItem> items = todoTable
            .Where(todoItem => todoItem.Complete == false).ToListAsync().Result;

Viewing all articles
Browse latest Browse all 58056

Trending Articles



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