Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

13. Windows Phone 7 > Getting data on your Windows phone 7 using WCF

Getting data on your Windows phone 7 using WCF

In the previous recipe, we used some hardcoded data in our application to hide the details of working with services in a WP7 application. The focus of this recipe is accessing remote data using WCF (Windows Communication Foundation).

Getting ready

In this recipe, we are continuing with the scenario of the previous recipe but we are going to refactor it to use real data coming from a WCF service. Therefore, you can continue using the code from the previous recipe or use the starting solution provided with the code of the book, located in Chapter13/BluRayCollector_WCF_Starter. The completed solution is located in the Chapter13/BluRayCollector_WCF_Completed folder.

This recipe uses a SQL Server database called BluRayCollector. This database needs to be added to your SQL Server instance (this can be either a SQL Server Express or a full version of SQL Server). Refer to the Appendix for more information on how to attach this database to your server. For your convenience, the database script (*.sql) is also provided with the downloads.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial