O'Reilly logo

Microsoft® SQL Server 2012 Unleashed by Alex T. Silverstein, Chris Gallelli, Paul T. Bertucci, Ray Rankins

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

Building Your Data Service

You can create your WDS service using the AdventureWorks2012 EDM you built in the previous section (“Introducing the Entity Framework”). To accomplish this, right-click your VS solution, select Add, New Project, and then, in the Web section, select ASP.NET MVC 4.0 Web Application. Name your project SQL2012MVC and click OK. On the ensuing New ASP.NET MVC 4 Project dialog, click on Basic under Select a Template. Leave the rest of the options as they are and click OK.

Using Solution Explorer, right-click your new MVC project and select Add, New Item. Next, click on the Web tab on the left (under the Installed Templates heading). Scroll down to near the bottom where you will find WCF Data Service. Click it and then name ...

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