Book Image

Learning Microsoft Azure

By : Geoff Webber Cross, Geoff Webber-Cross
Book Image

Learning Microsoft Azure

By: Geoff Webber Cross, Geoff Webber-Cross

Overview of this book

Table of Contents (19 chapters)
Learning Microsoft Azure
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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:

  1. Right-click on the solution and go to Add | New project:

  2. 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.

  3. Install the Windows Azure Mobile Service NuGet package by entering the following command into the NuGet Package Manager Console:

    Install-Package WindowsAzure.MobileServices
    
  4. Install the WindowsAzure.Messaging.Managed NuGet package, which allows us to interact with the notifications hub by entering the following command into the NuGet...