Top "Asp.net-web-api-odata" questions

ASP.

How to get Web API OData v4 to use DateTime

I have a fairly large data model that I want to expose using Web API OData using the OData V4 …

.net odata asp.net-web-api asp.net-web-api-odata odata-v4
The path template on the action in controller is not a valid OData path template

I am getting the following error: The path template 'GetClients()' on the action 'GetClients' in controller 'Clients' is not …

c# asp.net-web-api odata asp.net-web-api-routing asp.net-web-api-odata
How to properly integrate OData with ASP.net Core

I'm trying to create a new ASP.NET Core project with a "simple" web api using OData and EntityFramework. I …

c# asp.net-core odata asp.net-web-api-odata asp.net-core-webapi
Applying Distinct to OData query

I want to get a list of distinct values from my OData endpoint. But distinct or group by isn't supported …

c# odata asp.net-web-api-odata odata-v4
How to get only Odata.Count without value

Is there any way I can get only count of the data in response payload without any value array? I …

asp.net-web-api odata asp.net-web-api-odata
Web API OData Security per Entity

Background: I have a very large OData model that is currently using WCF Data Services (OData) to expose it. However, …

c# odata asp.net-web-api-odata
OData v4 Custom Function

I'm trying to create a custom function in an OData v4 Web API solution. I need to return a collection …

c# asp.net-web-api odata asp.net-web-api-odata
OData v4 error on start-up: Resource not found for the segment 'Whatever'

I am building out my new v4 service and all was going well until I added a new controller for …

c# asp.net-web-api odata asp.net-web-api-odata
Not able to use oData query options

I have an ASP.NET Web API project. I'm trying to pass some query options to my API controller like …

c# asp.net-web-api odata asp.net-web-api-odata
OData Exception The limit of '0' for Top query has been exceeded

I am using OData Web API for Version 4, when I try to query OData web Api using $top parameter, it …

c# odata ignite asp.net-web-api-odata