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
  • PrintPrint
Share this Page URL
Help

10. Talking to REST and WCF Data Service... > Reading data using WCF Data Services

Reading data using WCF Data Services

Applies to Silverlight 3, 4 and 5

Let's assume we have decided that WCF Data Services is going to be the technology to get data inside our Silverlight application, which admittedly is a great choice. In the previous recipe, we saw how we can set up Silverlight to use WCF Data Services. However, we didn't actually exchange any data with the service (which is quite ironic for a data service).

In this recipe, we'll perform read operations on the data by building on the code created in the previous recipe. This time, we'll focus on the Computer data in the database.

Getting ready

This recipe continues on the code created in the previous recipe. If you want to follow along, you can continue using your code, or use the provided starter solution located in the Chapter10/WorkingWithWcfDataServices_Reading_Starter folder in the code bundle available on the Packt website. The finished solution for this recipe can be found in the Chapter10/WorkingWithWcfDataServices_Reading_Completed folder.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

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

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint