I'm working on a project in ASP .NET Core 3.1 MVC now I want to add some API controllers to return list of objects. For this I want to use OData Controller version 8.0.0 so I can get quarriable data to improve performance on large data tables
I'm new in ASP .NET Core and OData. can anybody explain how to configure my project's Startup file so I can run both MVC and OData controllers same time. Kindly share some example code
I have managed to fix my issue to run Web Application which exposes OData APIs Issue was in Startup.cs file
I'm using Asp.Net Core 3.1 and Microsoft.AspNetCore.OData v7.3.0
my Startup.cs file code is:
Hope this will help others