Reputation: 3029
There is no HttpConfiguration
accessible, so I can't use this code.
config.MapHttpAttributeRoutes();
var builder = new ODataConventionModelBuilder();
builder.EntitySet<Client>("clients");
config.Routes.MapODataServiceRoute("ODataRoute", "odata", builder.GetEdmModel());
What is the right way to enable odata controllers in asp.net core?
Upvotes: 0
Views: 1238
Reputation: 187
As far as I know there is no full OData support on vnext yet.
You can track the progress via the myget repository:
http://myget.org/gallery/odatavnext
Upvotes: 2