O'Reilly logo

Microsoft Silverlight 5 Data and Services Cookbook by Kevin Dockx, Gill Cleeren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required