OData

Create and consume RESTful APIs in a simple and standard way

[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] How to enable authentication for metadata documents in the OData Client Code Generator

Currently, the OData Client Code Generator doesn’t support authentication for metadata documents. Although authenticating the access to OData metadata documents is not encouraged for service builders unless they has a good reason to do so, However, it might not be easy to exclude $metadata from the authentication required by the service. ...

[Tutorial & Sample] How to Use Open Type in OData

OData protocol introduces conception of open type which allows clients to add properties dynamically to instances of the type by specifying uniquely named values in the payload used to insert or update an instance of the type. This makes definition of entity type or complex type more flexible. Developers do not have to define everything which ...

[Tutorial & Sample] Client Property Tracking for PATCH

  In OData Client for .NET 6.2.0, we enabled the top level property tracking on client side when sending a PATCH. This feature allows client to send only updated properties, instead of the entire object to server. The top level property tracking means the client will only track the highest level properties in the class hierarchy. In...

[Announcement] The ASP.NET Web API 2.2 for OData release and the OData Client Code Generator release

We are very excited to announce the availability of nightly builds on MyGet for ASP.NET Web API 2.2 for OData v4.0 along with OData Client Code Generator for writing OData v4 clients. The Web API 2.2 release is particularly noteworthy as it is the first Web API release with support for OData v4 with selected highly demanded ...

[Tutorial & Sample] How to use OData Client Code Generator to generate client-side proxy class

Edited on July 09, 2014 by updating “Add OData Client Proxy File” for V2.0.0 and adding "Appendix" part. Please refer to "OData Client Code Generator 2.0.0 release" for V2.0.0 release notes Edited on Apr 29, 2014 by adding "Upgrade the Project Dependencies to the Most Recent Version" part. In this tutorial, you will generate an ...