Using WCF Data Services with Silverlight

Above our data layer, we may have an entity model that exposes entities (for example, created using the ADO.NET Entity Framework) for our application to use. WCF Data Services allows exposing these entities over REST-based services. In this recipe, we'll look at how we can use WCF Data Services from Silverlight.

WCF Data Services is the new name for ADO.NET Data Services. This name change was made in the .NET Framework 4 timeframe.

In the previous recipes, we worked on the User Management part of the Computer Inventory application. In this and the following two recipes, we'll work on the Computer Management.

Getting ready

This recipe, along with the following two recipes, uses the same database called ComputerInventory ...

Get Silverlight 4 Data and Services Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.