OData

Create and consume RESTful APIs in a simple and standard way

[Tutorial & Sample] Using Unsigned Integers in OData

Unsigned integers can be useful in many ways, such as representing data sizes, resource handles and so on. Though OData V4 only supports signed integer natively, the protocol offers a flexible way called type definition to allow users to ‘define’ unsigned integer types themselves. As an example, we know that any UInt16 integer can be ...

[Tutorial & Sample] Open complex type step by step with Web API 2.2 for OData v4.0

Introduction Recently, Microsoft officially announced Web API 2.2 for OData v4 via the blog post Announcing the Release of ASP.NET MVC 5.2, Web API 2.2 and Web Pages 3.2. In this release, a new feature named open complex type is introduced. As the ODL v4 spec says: Open complex types are keyless named structured types consisting of a set ...

[Tutorial & Sample] Client Delayed Query

In OData Client 6.5.0, together with OData Client Code Generator 2.0.0, we have improved the user experience on the client side by introducing delayed query into it. This feature enables valid compositions as many as you want when building a query in client, getting all parts into one request URL and sending it out when you get it ready. ...

[Announcement] OData Client Code Generator 2.0.0 release

We are happy to announce that the OData Client Code Generator is released and available on Visual Studio Gallery. In this release, we focused on lighting up more OData features and the usability of the generated APIs while preserving the most consistency with the former version. Following is the release notes: Improvements of this OData ...

[Tutorial & Sample] Using ODataUriParser for OData V4

Background This post is intended to guide you through the UriParser for OData V4, which is released within ODataLib V6.0 and later. You may have already read the following posts about OData UriParser in ODataLib V5.x: Some parts of the articles still apply to V4 UriParser, such as introduction for ODataPath and QueryNode ...

[Announcement] ODataLib 6.5.0 Release

We are happy to announce that the ODL 6.5.0 is released and available on nuget along with the source code oncodeplex (please read the git history for the v6.5.0 code info and all previous version). Detailed release notes are listed below. Bug Fix New Features A type definition defines a specialization of ...