Showing results for OData - OData

Jun 19, 2023
0
0

Enable Un-typed within ASP.NET Core OData

Sam Xu
Sam Xu

Introduction The latest ASP.NET Core OData supports the following two built-in OData abstract types: Developers can use them to advertise a property in OData metadata schema (aka, Edm model) so that such property is declared with a particular name present, but there is no type associated to describe the structure of the property's...

ODataASP.NET Core ODataWeb API
Mar 9, 2023
7
2

Customize OData payload serialization format within ASP.NET Core OData

Sam Xu
Sam Xu

Introduction JSON (aka, JavaScript Object Notation), a standard text-based format for representing structured data based on JavaScript object syntax, is the default representation for the OData requests and responses payload, see OData JSON format here. It’s a very popular format and widely used in most scenarios. However, there are customers who ...

ODataASP.NET Core ODataCSV
Sep 7, 2022
0
4

Extension: Omit null value properties in ASP.NET Core OData

Sam Xu
Sam Xu

Introduction By default, ASP.NET Core OData serializes a single value property as “null”, and a collection value property as an empty array if its value is null as such: It’s good for most scenarios. However, omitting those 'annoying' null-value properties from the OData response gets more and more attention. Along with the latest ASP.NET Core ...

ODataASP.NET Core OData
Apr 20, 2022
2
0

Tutorial: Build gRPC & OData in ASP.NET Core

Sam Xu
Sam Xu

Introduction gRPC (google Remote Procedure Call) is a high-performance remote procedure call framework that helps developers to build and consume remote services using the same way as calling local APIs. Different from gRPC, OData (Open Data Protocol) is an OASIS standard that defines a set of best practices for developers to build and consume RES...

ODataASP.NET CoregRPC
Jan 11, 2022
10
0

$compute and $search in ASP.NET Core OData 8

Sam Xu
Sam Xu

Introduction OData system query options, such as $filter, $orderby, are a set of query string parameters that control the amount and order of the data returned for the resource identified by the URL. In the latest version of ASP.NET Core OData, two new system query options as follows are enabled: Along with other query options, $compu...

OData$compute$search
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 templ...

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
Nov 2, 2020
10
1

Routing in ASP.NET Core OData 8.0 Preview

Sam Xu
Sam Xu

Introduction In the previous version of ASP.NET Core OData, such as 6.x and 7.x version, the OData routing is IRouter-based Web API Routing, that is, OData router is a Router implementing IRouter interface. Even in the ASP.NET Core OData 7.x Endpoint Routing, it is also related to the IRouter routing. Since 8.0, we want to build the OData routing ...

ODataASP.NET CoreAttribute Routing
Oct 19, 2020
6
0

ASP.NET Core OData 8.0 Preview for .NET 5

Sam Xu
Sam Xu

Recently, OData team released the 8.0.0 preview version of ASP.NET Core OData on nuget.org. It is the first version of OData supporting .NET 5, especially for ASP.NET Core 5. This version includes some breaking changes, such as model builder separation, namespace changes and configuration changes etc. Most importantly, the routing mechanism is chan...

ODataASP.NET CoreWeb API
Apr 6, 2020
2
0

Move OData to .NET 5

Sam Xu
Sam Xu

Introduction Along with the Announcing .NET 5 preview 1, it’s time to move OData to .NET 5. This blog is intended to describe how easy to move the BookStore sample introduced in ASP.NET Core OData now Available  onto .NET 5. Let's get started. Install .NET 5 .NET 5 SDK is required to build the .NET 5 application. So, Let’s follow up the instr...

OData.NET 5