Reputation: 1666
How to implement the OData in ASP .Net Web API using Visual Studio 2012?
Upvotes: 1
Views: 613
Reputation: 27187
Use Web API OData preview package - http://nuget.org/packages/Microsoft.AspNet.WebApi.OData
You can find overview articles by Alex James here - http://blogs.msdn.com/b/alexj/archive/2012/08/15/odata-support-in-asp-net-web-api.aspx
There is no full support for OData in Web API at the moment. The best you can do for the time being is go with the preview package above.
It was released on the same day as Web API RTM was released, to provide simple support for OData and preview some functionalities (that's why it's called alpha). Full package is coming later this fall.
Upvotes: 2