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