Skip to Content
Introducing .NET 4.0: with Visual Studio 2010
book

Introducing .NET 4.0: with Visual Studio 2010

by Alex Mackey
February 2010
Beginner content levelBeginner
400 pages
11h 13m
English
Apress
Content preview from Introducing .NET 4.0: with Visual Studio 2010

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:

  1. Create Entity Framework classes for the data you want to expose.

  2. Create a host ASP.NET application for the WDS service.

  3. Create the WDS service.

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

ASP.NET 3.5 For Dummies®

ASP.NET 3.5 For Dummies®

Ken Cox
ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek

Publisher Resources

ISBN: 9781430224556Purchase book