EntitySetController Vs ODataController, which one is best practice?

Topics: ASP.NET MVC, ASP.NET Web API
Mar 25, 2014 at 9:16 PM
To expose OData through api, Which Base class(EntitySetController Vs ODataController) is best practice.

Is Web Api OData future versions will support EntitySetController?

Thanks,
Hanu
Coordinator
Mar 25, 2014 at 10:17 PM
We recommend deriving from ODataController. We provide scaffolders in Visual Studio 2013 for creating OData services based on ODataController. We've found this to be a much more flexible model than deriving from EntitySetController. You get complete control over what is done in your actions.

Daniel Roth
Marked as answer by contacthanu on 3/27/2014 at 12:28 PM