Table of Contents
The Microsoft Push Notification Service in Windows Phone offers third party developers a resilient, dedicated, and persistent channel to send information and updates to a mobile application from a web service.
In the past, a mobile application would need to frequently poll its corresponding web service to know if there are any pending notifications. While effective, polling results in the device radio were being frequently turned on, impacting battery life in a negative way. By using push notifications instead of polling, a web service can notify an application of important updates on an as-needed basis. Also please go through the MSDN link from Microsoft Push Notifications Overview for Windows Phone.
Push Notification on Windows phone 7 is one of my favorite topics, I took some time to understand. It is very simple, for quick understanding assume it is similar to the RSS Feed, here we can subscribe and receive the data when application is running/not running on Windows Phone 7.
- WP7 Application Platform provides a set of managed APIs
- Allow developers to directly connect applications to on-line services
- APIs support a push model of notifications instead of polling
- Efficient battery utilization
- Minimize memory footprint
- Reduce processor cycles
- Unified heartbeat reduces number of connections
- Simple programming model on the phone
- No persistent connection required
- Simple to integrate with existing web 2.0 solutions.
There are 3 types of Push Notification on Windows Phone 7. They are Tile, Toast and Raw Notification.

User pins a tile to quick launch menu, cloud service updates the tile with image URI.
This is shown when the application is not running and each application will have one assigned tile for that the application should be pinned to start screen. Three elements of the tile can be updated via notification.
- Count
- Title
- Background

Tiles are in 2 different sizes.
Cloud service sends a title and sub title.
This is shown when the application is not running, these will appear for a few seconds on the top of the screen and will disappear. When this notification appears, if the user taps on toast message appeared, the application will launch.

Cloud Service notifies application, if app is not running, notification is discarded.
This will be received when the application is running, if the application is not running this will not appear. Since this is raw data, this notification message can be customized and displayed to the user or it can be added to any of the UI elements accordingly. At present, this has a size limit of 1kb.
Please go through the following MSDN link for more details:

- An application which opens a channel through the push client:
- The push client will return a URI to the application:
- The application will pass on to your service, this is your service running on cloud somewhere.
- Then you wait for some events or something to happen which needs to send notification.
- Your data changed something new has arrived, as soon as the event is fired.

- The service would push / send the data to the push service. This is cloud based service hosted by Microsoft, freely available to you as the developer.

- Once you send this URI with data, it would send the URI and data to push client.

- The push client will send data to the application, tile, or toast.
- The push client and application are running in the device. Your service is what we created, Push service is the Microsoft hosted service. Both are cloud services.
Thank you, Enjoy Madi!
10th December, 2010: Initial post
19th December, 2010: Simplified the Step by Step flow images
Please go through the related article from the below link:
And also please go through the 2 minutes Youtube demo:
WPF Based articles are as follows...