With the release of Visual Studio 2013 RTM, we added support for scaffolding OData controllers with Entity Framework. In this blog topic we will cover the following topics • Scaffolding an OData controller with Entity Framework on a Web API 2 project. • Extra configuration steps required to setup OData scaffolding in a MVC project. Scaffolding an OData controller with Entity Framework on a Web API2 project Create a Web project using ASP.NET Web Application template and select Web API. Create the following model classes in the Models folders of the project public class Customer { public int CustomerId { get; set; } ...(read more)
Go to the complete details ...