December 2013
Intermediate to advanced
1872 pages
153h 31m
English
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 ...