Registering in an application

In this section, we will try to perform a registration using a UWP application in Visual Studio. To get started, open the HandsOnAzureApp project from the source code for this chapter—you should see a blank UWP application with boilerplate code in it.

We will use a UWP application here because it is the easiest way to get started and work with Notification Hub. However, if you are a mobile developer, you can use any kind of project you want.

To get started with registration, you will have to install a package to work with Notification Hub—use the NuGet package manager and search for the WindowsAzure.Messaging.Managed package, which holds all of the components required for this particular exercise. In the App.xaml.cs ...

Get Hands-On Azure for Developers 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.