Getting Started with Push Notification

The main CLR types used in push notification reside in the Microsoft.Phone.Notification namespace.

To enable an application to use push notification, the ID_CAP_PUSH_NOTIFICATION capability must be present in the WMAppManifest.xml file. Although not explicitly required for push notification, the ID_CAP_NETWORKING capability is also required if you want to notify a cloud service of the existence of an MNPS URI. Push notification is useless in most cases without the latter capability.

The following excerpt shows the capabilities needed for push notification in the WMAppManifest.xml file:

<Capabilities>  <Capability Name="ID_CAP_NETWORKING" />  <Capability Name="ID_CAP_PUSH_NOTIFICATION ...

Get Windows® Phone 8 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.