Base solution for your next web application
Open Closed

OData example with .Net 6 #10985


User avatar
0
visility created

Hi We are trying to implement OData in ASP.Net Zero but can not find any examples for the following version:

ASP.NET CORE MVC & jQuery .NET 6.0 v11.1.0

All the examples that we could find are for ASP.Net Core 3.x, 5x., and we can't get those to work on .Net 6.

Could you point us in the right direction on where to look, or provide us with example code?

Thanks in advance.

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    This should work for .NET 6, see https://aspnetboilerplate.com/Pages/Documents/OData-AspNetCore-Integration#for-asp-net-core-5-x-and-above

    Let us know if you face any problems.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    visility created

    Hi,

    Thanks for your reply.

    We detected using the provided link in fact worked, however we were a little confused regarding which project to include changes to.

    However adding it to Web.Mvc, seemed to do the trick.

    It is working now.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)