AspNetCoreOData
AspNetCoreOData copied to clipboard
ASP.NET Core OData: A server library built upon ODataLib and ASP.NET Core
I realize that there is a [sample here](https://github.com/OData/AspNetCoreOData/tree/main/sample/ODataDynamicModel) for creating 100% dynamic models. However, in our case we have an existing model that we are happy with, but we want...
`ODataResourceSetSerializer.CreateResourceSet` executes the `TotalCountFunc`, but that is called before the `IQueryable` is evaluated in `ODataResourceSetSerializer.WriteResourceSetAsync` and thus the `TotalCountFunc` can never know anything about what filters were requested, and thus...
Hi, I need the ability to accept an ODataQueryOptions parameter in the HandleAllController from the ODataDynamicModel sample. Is this possible? I've tried things like typing the parameter with the EdmEntityObject...
https://github.com/OData/AspNetCoreOData/blob/4721f7aa9b84ba5c2ff914fa4ca860d146b87534/src/Microsoft.AspNetCore.OData/Routing/Template/KeySegmentTemplate.cs#L152 When routing Odata Request, an exception is thrown (the full exception is provided at the end of the issue) this exception casuses an immediate 500 response (no layer can...
As .Net 5 is nearing EOL, we are starting to update our projects to .Net 6 I've noticed, during updates of our projects that Microsoft.AspNetCore.OData.NewtonsoftJson is not supporting .Net 6...
Hello, I'm working through a POC with the new 8.x framework in order to update a bunch of microservices I maintain. My goal is to get all of these technologies...
Hi, I wasn't able to retrieve a nextlink with a $skiptoken value set to Category/Id, using below classes and configurations. using nuget Odata/AspNetCoreOData 8.0.5 ```cs // odata query: /products?$orderby=Category/Id public...
Microsoft.AspNetCore.OData 8.0.3 **EDM model** ``` builder.EntitySet("TestAs"); builder.EntityType().Action("Test") .ReturnsCollectionFromEntitySet("TestAs"); ``` **Controller** ``` public class TestAsController : ODataController { [HttpPost] public IActionResult Test() { return (Created(new[] { new TestA(), new TestA() }));...
I would like to return an HTTP Status Code 202 Accepted as a result of POST, PUT, and DELETE requests. For example, as a result of a POST request, instead...
* `AddSortRestrictionsAnnotation` only looks for `entityTypeConfig.Properties.Where(property => property.Unsortable)`, it does not see if a property is navigatable and check properties for there and build a proper path. * `SetSortRestrictionsAnnotation` is...