Can anybody list out the difference between WebAPI and OData Controllers?
Asked
Active
Viewed 5,185 times
7
-
1Really good answer can be found here: http://stackoverflow.com/questions/17949201/using-apicontroller-vs-odata-entitysetcontroller – ProxyTech Jan 24 '14 at 09:31
-
check this answer http://stackoverflow.com/questions/2458407/difference-between-odata-and-rest-web-services – Teoman shipahi Jun 03 '15 at 15:22
1 Answers
2
WebApi is an application type (maybe a framework) used to facilitate the applications intercommunications between different platforms (web, mobile, windows). OData is a communication protocol supported by the WebApi infraesctructure. The OData's goal is to provide an uniform way to create CRUD (create, retrieve, update and delete) operations.
In WebApi you are kinda limited to the HTTP verbs (GET, PUT, DELETE, POST) and the OData (ODataController) adds new endpoints to facilitate the datasets manipulation.

Douglas Gandini
- 827
- 10
- 24