Showing results for 2021 - OData

Aug 26, 2021
1
0

Adding support for $count segment in $filter collections in OData WebAPI

Kennedy Kangethe Munga
Kennedy Kangethe Munga

Introduction In OData core  v7.9.0 we added improved support for $count segment in $filter collection properties. Previously, versions of OData core had support for: We are constantly improving filtering capabilities in OData WebAPI. In OData WebApi v7.5.9 and OData WebApi v8.0.2, we have added support for the queries below According to ...

Aug 26, 2021
0
0

Support for fetching nested paths in OData Web API

Clément Habinshuti
Clément Habinshuti

Background OData services use nested paths to access properties or entities related to a resource. For example, if you want to access orders of a given customer, you would use a request path like: 7.x provides two main approaches for handling such requests: convention and attribute routing. In the first approach, we create controller ...

Aug 23, 2021
3
1

Build formatter extensions in ASP.NET Core OData 8 and hooks in ODataConnectedService

Sam Xu
Sam Xu

Introduction In this post, I will create formatter extensions in an OData web service and request/response hooks in an OData client application to generate/consume ETag control information. ETag (aka entity tag), one of OData control information that may be applied to an entity or collection in response, can be used in a subsequent request to ...

ASP.NET Core ODataODataConnectedService
Jul 30, 2021
4
1

Tutorial: Creating a Service with ASP.NET Core OData 8.0 for .NET 5

Lisi Case
Lisi Case

In this document, we will walk through the process of creating a local service using OData 8.0, which is optimized to support ASP.NET Core 5. To learn more about the changes, check out ASP.NET Core OData 8.0 Preview for .NET 5 (which also references ASP.NET Core OData now Available), written by my colleague, Sam. You'll notice that this post has a...

Jul 10, 2021
9
2

Up & Running w/ OData in ASP.NET 6

Hassan Habib
Hassan Habib

In this article, I'm going to walk you through the simplest way you can follow to get up and running with OData 8.0 on ASP.NET 6.0 - including source code examples, video walk-throughs and a glimpse into the future of OData.

Jul 9, 2021
15
0

API versioning extension with ASP.NET Core OData 8

Sam Xu
Sam Xu

Introduction API versioning can help evolving our APIs without changing or breaking the existing API services. URL segment, request header, and query string are three ways to achieve API versioning in ASP.NET Core application. ASP.NET Core OData 8, built upon ASP.NET Core, has the built-in API versioning functionality via route URL prefix ...

ODataASP.NET CoreAPI versioning
Apr 7, 2021
11
0

Attribute Routing in ASP.NET Core OData 8.0 RC

Sam Xu
Sam Xu

Introduction Attribute routing is how Web API matches the incoming HTTP requests to an action based on route template attributes decorated on controller or action. ASP.NET Core defines a set of route template attributes to enable attribute routing, such as RouteAttribute, HttpGetAttribute etc. ASP.NET Core OData 8.0 RC supports these attributes to...

ODataASP.NET CoreAttribute Routing
Feb 25, 2021
1
0

OData Connected Service 0.12.0 Release

Clément Habinshuti
Clément Habinshuti

OData Connected Service 0.12.0 has been released on the Visual Studio Marketplace. This release includes the following changes:   Restored default settings Some default options were inadvertently changed in a previous update, leading to default options that do not make sense for the majority of use cases. We have restored ...