ASP .NET MVC 4 WebApi: Manually handle OData queries
I just stumbled across this old post and I’m adding this answer as it’s now very easy to handle the OData queries yourself. Here’s an example: [HttpGet] [ActionName(“Example”)] public IEnumerable<Poco> GetExample(ODataQueryOptions<Poco> queryOptions) { var data = new Poco[] { new Poco() { id = 1, name = “one”, type = “a” }, new Poco() { … Read more