AspNetCoreOData icon indicating copy to clipboard operation
AspNetCoreOData copied to clipboard

ASP.NET Core OData: A server library built upon ODataLib and ASP.NET Core

Results 346 AspNetCoreOData issues
Sort by recently updated
recently updated
newest added

Hi, i have query /odata/Clients$filter=containts And i am using JWT for authorization. I am want to get HttpContext.User before query executing and checking custom permissions (custom logic) and return 1....

follow-up

**Assemblies affected** ASP.NET Core OData 8.2.3 and Microsoft.Azure.Cosmos 3.35.4 **Describe the bug** Using the [ODataQueryOptions.ApplyTo Method](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnet.odata.query.odataqueryoptions.applyto?view=odata-aspnetcore-7.0) with the [Container.GetItemLinqQueryable Method](https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.cosmos.container.getitemlinqqueryable?view=azure-dotnet) throws an exception only, and only if the user provides...

bug
investigating

Hi, i have 2 classes with name Client in 2 namespaces. For example ```C# namespace A { namespace B { public class Client {} } } namespace C { namespace...

question

**Assemblies affected** `Microsoft.AspNetCore.OData 8.2.3` `Microsoft.Azure.Cosmos 3.35.4` **Framework** dotnet 6 **Dependencies** ```xml ``` **Describe the bug** A `JsonSerializationException` is occurring due to the detection of a self-referencing loop during JSON serialization....

bug

**Assemblies affected** ASP.NET Core OData 8.x **Describe the bug** Sending a request with a query param where the key is whitespace throws an ArgumentException when trying to bind the ODataQueryOptions...

bug

Hi, I see there is a new package for adding Netwonsoft JSON so I'm guessing there are available extensibility points for controlling the JSON serialization. We are using System.Text.Json, but...

question
investigated

**Assemblies affected** ASP.NET Core OData 8.x (latest) **Describe the bug** When applying own projection/select to the query the odata wrapper get's lost. **Reproduce steps** ``` public ActionResult Get(ODataQueryOptions odata) {...

bug

**Assemblies affected** 8.0.12 **Describe the bug** When using $select or the $expand query statements with OData to query a cosmosDB collection I receive the following exceptions: "Newtonsoft.Json.JsonSerializationException: Self referencing loop...

bug

Using Microsoft.AspNetCore.OData V 8.0.4 in my startup I set ```c# .AddOData(opt => { opt.Select().Filter().OrderBy().Count().SetMaxTop(1000) .AddRouteComponents("api", EdmModelBuilder.GetEdmModel()) .TimeZone = TimeZoneInfo.Utc; opt.EnableAttributeRouting = true; }) ``` And specify the time zone i...

bug
Fixed

Hi OData 8.2.0 My project uses server-side pagination through the EnableQuery attribute and the PageSize parameter: ``` [HttpGet, EnableQuery(PageSize = 1000)] [ProducesResponseType(typeof(ParentTableName), 200)] public IActionResult Get() { var result =...

question
performance