Creating a Windows Phone application
We'll now start building our Windows Phone application, which will be very basic in terms of UI but will demonstrate how to set up a push notifications channel, register with the notifications hub, and make authenticated requests to the mobile service. We'll create and set up the application in the following procedure:
- Right-click on the solution and go to Add | New project:
- Select Blank App (Windows Phone Silverlight) from the Store Apps tab and click on OK. In the next dialog, I've chosen Windows Phone 8.0 as the target OS version because we're not implementing any 8.1-specific features. Click on OK again to create the project.
- Install the
Windows Azure Mobile Service
NuGet package by entering the following command into the NuGet Package Manager Console:Install-Package WindowsAzure.MobileServices
- Install the
WindowsAzure.Messaging.Managed
NuGet package, which allows us to interact with the notifications hub by entering the following...