AspNetCoreOData
AspNetCoreOData copied to clipboard
ASP.NET Core OData: A server library built upon ODataLib and ASP.NET Core
**Assemblies affected** ASP.NET Core OData 8.0.11 **Describe the bug** When trying to fetch property of a singleton object, it fails with a 404. Is it possible to implement a single...
According to OData documentation (https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html#sec_case) we should be able to use case method call. I tried this with `Microsoft.AspNetCore.OData` version `8.0.11`. Client called this URL ``` http://localhost:60600/odata/Search?$select=name&$compute=case(indexof(name, 'test') eq -1:10000,true:indexof(name,...
Hello, **Version Microsoft.AspNetCore.OData, Version=8.0.4.0** Seems default controller doesn't allow HEAD method requests on $metadata requests: `http://www.xx.com/api/$metadata": The remote server returned an error: (405) Method Not Allowed.` ```csharp /// /// Represents...
**Assemblies affected** ASP.NET Core OData 8.0.11 **Describe the bug** If we return a model which has an enumerable property for example an IEnumerable with null value a TargetInvokationException is thrown,...
**Assemblies affected** ASP.NET Core OData 8.0.11 **Describe the bug** Refering to this post from @xuzhg https://stackoverflow.com/questions/72182707/odata-v7-8-should-composite-keys-be-in-alpha-order-or-haskey-when-key-value > Or you can use the attribute routing. In attribute routing, you can set...
The documentation for writing [custom OData routing conventions](https://docs.microsoft.com/en-us/odata/webapi/custom-routing-convention) for ASP.NET (not Core), shows that you override `SelectAction` in which you examine a given route and return the controller action to...
**Assemblies affected** ASP.NET Core OData 8.0.11 **Describe the bug** Swagger doesn't encode string values in quotes on entity query by key with multiple key properties. Thus exception is raised :...
**Assemblies affected** Which assemblies and versions are known to be affected e.g. ASP.NET Core OData 8.x **Describe the bug** OData specs has the following at: http://docs.oasis-open.org/odata/odata/v4.01/cs01/part1-protocol/odata-v4.01-cs01-part1-protocol.html#_Toc505771137 ```txt 8.2.8.6 [Preference omit-values](http://docs.oasis-open.org/odata/odata/v4.01/cs01/part1-protocol/odata-v4.01-cs01-part1-protocol.html#sec_Preferenceomitvalues)...
**Assemblies affected** Microsoft.AspNetCore.OData 8.2.5 **Describe the bug** Using $orderby on a field returns an error saying the field does not exist. However, if I do a query where I just...
Hi OData 8.2.0 We execute the following OData query: `https://localhost:44394/odata/EntitySet('BSL24OMNEH2TCP0')?$expand=observations` Which generates following SQL, which executes **normally** and we get results as expected: _SQL QUERY 1_ > SELECT o.source_id, o.col1,...