How to implement the OData in ASP .Net Web API using Visual Studio 2012?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.