AspNetCoreOData
AspNetCoreOData copied to clipboard
ASP.NET Core OData: A server library built upon ODataLib and ASP.NET Core
When 2 requests are performed at the same time, there is a possibility that one's response will contain 2 concatenated JSON strings ``` {"@odata.context":"http://localhost:64149/odata/$metadata#Books(Author())","value":[]}{"@odata.context":"http://localhost:64149/odata/$metadata#Books(Author())","value":[]} ``` and the other will crash...
Hi there, I'm trying to leverage JsonDocument as part of dto classes and add ability to filter on such properties. I'm facing two issues here: 1) As I'm not using...
When we execute a query that uses $select or $expand, the request does not return data Assemblies affected Microsoft.NET.Sdk.Web TargetFramework:net6.0 Microsoft.AspNetCore.Mvc.NewtonsoftJson: Version=5.0.12 Microsoft.AspNetCore.OData: Version=8.0.3 Microsoft.AspNetCore.SpaServices.Extensions: Version=5.0.12 Microsoft.OData.Core: Version=7.9.4 Microsoft.OData.Edm: Version=7.9.4...
1. Dynamic property doesn't support non-primitive data types We are trying to build an odata data service to enable clients to store arbitrary json data. I define an open data...
I am using Odata with .NET 5.0. Odata version is : (Microsoft.AspNetCore.OData\8.0.1) $Count is not working in my each request. http://localhost:33451/odata/Users?$count=true http://localhost:33451/odata/Users?$skip=20&$top=10&$count=true http://localhost:33451/odata/Users?$filter=Salary gt 20000 and Salary le 50000&$count=true http://localhost:33451/odata/Users?$skip=20&$top=10&$filter=Salary...
Using Aspnet core odata 8.0.6 http://localhost:5051/odata/wsdb/Jobbhist(261210.08) The value when entering the controller is 261210.1 and not the expected 261210.08. EDM-type of key is decimal (14,2), clr type is decimal This...
How do I modify the result data of an OData API? For example, in the response of a list OData API, we want to set some property to null. I...
I created a very simple EDM and `ODataController`. My intended API works. But the `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollectionProvider` that gets injected into Swashbuckle's `SwaggerGenerator` contains an unexpected and unwanted `ApiDescription` for the $count...
Hello, I have a entityset that contains Collection of ComplexType, Collection of EntityType and primitive types public class Test { String id; IEnumerable mockEntityType{ get; set; } IEnumerable mockComplexType{ get;...
The only time we should receive a link/deletedLink in a request is a PATCH against a collection, which might look something like this: `PATCH http://host/service/$metadata#Customers` ```json { { "@context":"#Customers/$deletedLink", "source":"Customers('ALFKI')",...