Exercise 2: Complete the Notification Registration WCF Service
In this exercise, you will add methods to the existing registration WCF service to manage the notification count for each registration.
Task 1 – Beginning the Exercise
In this task, you will open the lab solution in Visual Studio 2010.
Task 2 – Adding a Count Property to the ListNotificationRegistration Class
In this task, you will add an integer property to the existing ListNotificationRegistration class.
Task 3 – Declaring Service Methods to Manage the Count
In this task, you will complete the existing IListNotificationChannels.cs interface to include the required methods declarations to manage the notification count for each registrations.
Task 4 – Implementing the New Service Methods
In this task, you will complete the existing ListNotificationChannels class to include the declared interface methods from Task 3.
Task 5 – Implementing the Method to Send a Tile Notification with a Zero Count
In this task, you will complete the existing Notification class to send a tile notification to a specific channel Uri with a zero count.
Task 6 – Running the Service in Visual Studio 2010
In this task, you will run the NotificationRegistration service to verify it starts correctly.