Logging Into Azure Mobile Services
Now that I have done all of this tedious configuration and setup, I am finally in a position to do something useful. I can log in to Azure Mobile Services using my Live Connect account and insert and retrieve my tasks. I want to
1. Log in to Live Connect
2. Log in to Windows Azure Mobile Services
3. Get my tasks
The code for performing all three of these steps is contained in Listing 14.7.
// Login and Bind tasks to ListViewvar REDIRECT_DOMAIN = "http://liveSDKDemo.Superexpert.com";var mobileServicesClient, tasksTable;var scopes = ["wl.signin"];WL.init({ scope: scopes, redirect_uri: REDIRECT_DOMAIN ...
Get Windows® 8.1 Apps with HTML5 and JavaScript Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.