O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Notification Channel for an Authenticated Cloud Service

As mentioned earlier in this chapter, the HttpNotificationChannel has a constructor that accepts the fully qualified domain name (FQDN) of the cloud service certificate. The FQDN must match the registered certificate’s subject name, which is the CN attribute. An example of a FQDN is www.example.com. Creating a channel using an FQDN is demonstrated in the following excerpt:

using (HttpNotificationChannel channel         = new HttpNotificationChannel(channelName, "www.example.com")){    channel.Open();    channel.BindToShellEntryPoint();    channel.BindToShellNotification();}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required