Microsoft® SQL Server 2012 Unleashed
by Ray Rankins, Paul T. Bertucci, Chris Gallelli, Alex T. Silverstein
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 ...
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.
Read now
Unlock full access