Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Windows Phone 7 Silverlight Cookbook

You're reading from   Windows Phone 7 Silverlight Cookbook All the recipes you need to start creating apps and making money.

Arrow left icon
Product type Paperback
Published in Aug 2011
Publisher Packt
ISBN-13 9781849691161
Length 304 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Jonathan Marbutt Jonathan Marbutt
Author Profile Icon Jonathan Marbutt
Jonathan Marbutt
Robb Schiefer Robb Schiefer
Author Profile Icon Robb Schiefer
Robb Schiefer
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Creating a service to send notifications


In this recipe, you will create the application server which will provide push notifications for a surf updates phone app. The service will allow users to register for notifications and periodically send updates which will update the phone applications start tile. The application start tile has three components which can be edited: background, title, and count. We will be editing the title and count. We will set the background statically.

Getting ready

We will use a WCF service project for the application server. Create a project named SurfTileNotifications.Service using the WCF Service Library project template.

How to do it...

The WCF service will have two service methods, namely, GetIslandInfo and RegisterForNotifications.

Note

We will be using the Surf Observations RSS feed from the National Weather Service website,http://www.prh.noaa.gov/hnl/xml/Oahu.OMR.HFO.xml, for live surf updates.

The WCF service will read this data feed, parse it, and pass it to...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image