Installing the Mobile Services for WinJS Library

Okay, so now we have our Mobile Service and our database table. In order to interact with our Mobile Service from our Windows Store app, we need to install the Mobile Services for WinJS client library.

The fastest way to install this library is to take advantage of the NuGet Package Manager Console. After opening or starting a new project in Visual Studio, select Tools, Library Package Manager, Package Manager Console and enter the following command:

Install-Package WindowsAzure.MobileServices.WinJS

Executing this command adds a new set of Mobile Services scripts to your project’s js folder. To use the Mobile Services for WinJS client library, you need to add a script ...

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.