9.1. Hello WCF Data Services
Before we can get started with WDS, we are going to need some data to play with. If you haven't already done so, please refer to the introduction, and set up the example database. In this chapter, you will be using SQL Server 2008, but don't think that you are limited to using just SQL Server, because WDS will work with anything supported by the Entity Framework (Chapter 8).
To expose your data, you have to perform four steps:
Create Entity Framework classes for the data you want to expose.
Create a host ASP.NET application for the WDS service.
Create the WDS service.
Configure access rules for the service.
Let's get started. Open Visual Studio, and create a new ASP.NET web site; change the "Web location" drop-down ...
Get Introducing .NET 4.0: with Visual Studio 2010 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.