How to Push Notification in Windows Phone for Absolute Beginners?


Official MSDN document detailing how Push Notification for Windows Phone works, is brief but if you happen to explain the concept to absolute beginners for the first time, the content is a little messy. Keeping that in consideration I’ve tried to elaborate the working of Push Notification in Windows Phone into three distinctive steps relative to which you’ll code the application.

The slide deck with corresponding source code (caters step 1: your application request and grabs a push notification URI) is attached however the steps involved are given below for quick reference,

Step 1: Your Application requests and grabs a Push Notification URI

Step 2: Your Application sends Push Notification URI (retrieved in step 1) to YOUR Cloud Service

Step 3: When your cloud service has info to send to your app, it uses the notification URI (got in step 2) to send a push notification to MPNS

All Steps Together

 

Push Notifications Slide Deck & Phone Client Source Code.zip

Comments (4)

  1. Fred says:

    Awesome. Reminds me of that Live Tiles cheat sheet Kevin Ashley posted in 2011.

  2. Awesome. Reminds me of that Live Tiles cheat sheet Kevin Ashley posted in 2011.

  3. Harneet Sital says:

    Hi,

    I am currently working on a Windows Phone Application that uses push notification functionality. As a Backend to send toast notifications i have build a custom push server rather than relying on currently available push notification service providers like Windows Azure Mobile services, or buddy.

    My query is as follows:

    After how many days does Microsoft Push Notification Server stop sending Notifications to the user if he/she has not used it?

    Detailed Description : End User has a working Internet Connection on his Windows Phone. He uses my application today and then doesnt use it for next 30 days. Will the user still receive the notifications that i send from my server after 30 days? If your answers is NO. then whats the maximum timelimit allowed as per today's policy.