Windows Phone 7 And The CloudVersion: 1.0 DescriptionThis hands-on lab introduces you to the tools and the steps required to build an small Silverlight Windows Phone 7 application that consumes a WCF Data Services from an application hosted in Windows Azure. OverviewThis hands-on lab introduces you to the tools and the steps required to build a small Silverlight Windows Phone 7 application that consumes a WCF Data Services from an application hosted in Windows Azure.
WCF Data Services enables you to expose and consume data from different devices and infrastructures leveraging the Open Data Protocol (OData). OData is a protocol that allows you to expose your data as resources that are addressable by URIs. This enables you to use the semantics of representational state transfer (REST) for accessing the exposed data. The standard HTTP verbs of GET, PUT, POST, and DELETE are supported by it.
In this hands-on lab, you will be creating a simplified version of the MyTODO sample; first, you will expose its entity model through a WCF Data Service, which will then be consumed by the Windows Phone 7 Client. MyTODO is a Microsoft Developer & Platform Evangelism sample application built on Windows Azure to manage and share simple lists (e.g. tasks to complete, favorite movies, books you enjoyed, etc.). If you want to explore a complete version of the myTODO sample application, you can download it from http://code.msdn.microsoft.com/mytodo. ObjectivesIn this hands-on lab, you will learn how to:
PrerequisitesThe following is required to complete this hands-on lab:
SetupFor convenience, much of the code used in this hands-on lab is available as Visual Studio code snippets. To check the prerequisites of the lab and install the code snippets: Note: Make sure you have checked all the dependencies for this lab before running the setup.
Using the Code SnippetsThroughout the lab document, you will be instructed to insert code blocks. For your convenience, most of that code is provided as Visual Studio Code Snippets, which you can use from within Visual Studio 2010 to avoid having to add it manually. If you are not familiar with the Visual Studio Code Snippets, and want to learn how to use them, you can refer to the Setup.docx document in the Assets folder of the training kit, which contains a section describing how to use them. ExercisesThis hands-on lab includes the following exercises:
Estimated time to complete this lab: 30 minutes. Note: When you first start Visual Studio, you must select one of the predefined settings collections. Every predefined collection is designed to match a particular development style and determines window layouts, editor behavior, IntelliSense code snippets, and dialog box options. The procedures in this lab describe the actions necessary to accomplish a given task in Visual Studio when using the General Development Settings collection. If you choose a different settings collection for your development environment, there may be differences in these procedures that you need to take into account. |
.png)
.png)
.png)
.png)