This chapter described the ways in which the Tailspin Surveys mobile client application accesses remote services; it also discussed designing services that Windows Phone can access. You have now seen a complete picture of the Tailspin Surveys mobile client application, including the application's UI, Tailspin's use of the MVVM pattern, how the application leverages services offered by the Windows Phone platform, and how it consumes services over the network.
- How does Tailspin pass authentication requests to the web service?
- Tailspin uses basic authentication with the credentials in an authorization header.
- Tailspin uses Window Live ID.
- Tailspin uses OAuth.
- Tailspin uses the Windows Identity Framework (WIF).
- What notification methods does the Microsoft Push Notification Service support?
- Toast notifications.
- Tile notifications.
- SMS notifications.
- Raw notifications.
- Which of the following are elements of a toast notification?
- A title string that displays after the application icon.
- A content string that displays after the title.
- A background image.
- A parameter value that is not displayed but is passed to the application if the user taps on the toast.
- Why does the client need to register with MPNS before it can receive notifications?
- Because MPNS requires clients to authenticate before it will send notifications.
- Because MPNS can then notify your service that the client is ready to receive notifications.
- Because the client must obtain a unique URI to send to your service.
- Because the free version of MPNS has a limit on the number of clients that can receive notifications from your service.
- How does Tailspin transport data between the client and the web service?
- Tailspin uses the Microsoft Sync Framework to handle the data transport.
- Tailspin uses the WCF Data Services framework.
- Tailspin uses data transfer objects with a WCF REST endpoint.
- The mobile client application uploads directly to Windows Azure BLOB storage.
- Why does Tailspin filter data on the server and not on the client?
- To minimize the amount of data moved over the network.
- To simplify the application.
- For security reasons.
- To minimize storage requirements on the phone.
For more information about push notifications, see "Push Notifications for Windows Phone" on MSDN.
For more information about developing websites for Windows Phone, see "Web Development for Windows Phone" on MSDN.
For more information about security for Windows Phone, see "Security for Windows Phone" on MSDN.
These and all links in this book are accessible from the book's online bibliography. You can find the bibliography on MSDN at: http://msdn.microsoft.com/en-us/library/gg490786.aspx.
Last built: May 25, 2012