OData

Create and consume RESTful APIs in a simple and standard way

Latest posts

Jan 8, 2015
Post comments count 0
Post likes count 0

[Announcement] RESTier – A turn-key solution to build OData services

Yi Ding - MSFT

What is RESTier RESTier is a RESTful API development framework for building standardized, OData V4 based REST services on .NET. It can be seen as a middle-ware on top of Web API OData.  RESTier is built with the inspiration of combining simplicity of WCF DS with the flexibility of Web API OData. The main exciting features of RESTier are: What about ASP.NET Web API OData? As mentioned in the first part, RESTier is based on Web API OData. Web API OData will continuously be improved and RESTier will benefit from the improvements. Getting started The main getting started tutorials below show you how to user ...

Jan 5, 2015
Post comments count 0
Post likes count 0

[Tutorial & Sample] ODataLib Custom Payload Format

Karata Liu

This post is to guide you through the custom payload format support in ODataLib, which was introduced in ODataLib 6.9.0 release. All the sample codes in this post have been put to ODataSamples project, you can check it out under ScenariosCustomFormat folder. Background The OData specification defined several payload formats for data exchange. ODataLib has got built-in support for the JSON format(see OData JSON Format spec). But there are cases when someone tries to build up a RESTful service following OData conventions, and also wants to use a custom payload format other than JSON. For example, assuming we h...

Dec 18, 2014
Post comments count 0
Post likes count 0

[Announcement] WCF Data Services 5.6.3 RTM Tools Installer Release

Liang Wang [MSFT]

We are happy to announce the release of WCF Data Services tooling version 5.6.3. It enables “Add Service Reference” to work with .NET 4.5.2 for consuming OData V1-3 services.  Previously, when you try to “Add Service Reference” for OData V1-3 service, in VS2012 or VS2013 with .Net 4.5.2, you will get the following error window with the message: “The custom tool ‘DataServicesCoreClientGenerator’ failed. Data service client code-generation failed: The element ‘DataService’ has an attribute ‘DataServiceVersion’ with an unrecognized version &lsqu...

Dec 14, 2014
Post comments count 0
Post likes count 0

[Announcement] ODataLib 6.9.0 Release

Layla Liu

We are happy to announce that the ODataLib 6.9.0 is released. Detailed release notes are listed below. New Features: [GitHub issue #7, #24, #25] [GitHub issue #33] ODataLib now supports custom payload format, including: Improvements: [GitHub issue #12] OData Client for .NET supports using DELETE http method in DataServiceContext.Execute method. Bug Fixes: [GitHub issue #2] Fix a bug that model validation fails when complex type is marked as abstract in Edm model. [GitHub issue #15] Fix a bug that ODataQueryOptionParser doesn't work on case insensitive query option if OData Uri resolver enables cas...

Dec 8, 2014
Post comments count 0
Post likes count 0

[Tutorial & sample] Functions & Actions in Web API V2.2 for OData V4.0 – Type Scenario

Sam Xu

Introduction Functions and actions are two of the most important parts in OData. They are always very useful to define special/customized server-side behaviors to process the data in OData services. From OData V4 spec, functions and actions both are operations and can be either bound to a type or unbound. However, there's a little bit difference between them: In Web API V2.2 for OData V4.0, functions and actions are supported, for both bound and unbound. This blog is intended to use detail examples to illustrate how to configure/route/invoke functions and actions, for both bound and un-bound, in ...

Nov 9, 2014
Post comments count 0
Post likes count 0

[Announcement] OData V4 Client Code Generator 2.1.0 Release

Layla Liu

Features   Bug Fixes:

Oct 20, 2014
Post comments count 0
Post likes count 0

[Announcement] ODataLib 6.8.1 Release

Layla Liu

We are happy to announce that the ODataLib 6.8.1 is released. Detailed release notes are listed below. Bug Fix New Features   Call to Action You and your team are highly welcomed to try out this new version if you are interested in the new features and fixes above. For any feature request, issue or idea please feel free to reach out to us atodatafeedback@microsoft.com.  

Sep 27, 2014
Post comments count 0
Post likes count 0

[Announcement] ODataLib 6.8.0 Release

Layla Liu

We are happy to announce that the ODataLib 6.8.0 is released. Detailed release notes are listed below. Bug Fix New Features   Call to Action You and your team are highly welcomed to try out this new version if you are interested in the new features and fixes above. For any feature request, issue or idea please feel free to reach out to us at odatafeedback@microsoft.com.

Sep 12, 2014
Post comments count 0
Post likes count 0

[Tutorial & Sample] ODataUriParser Extension Support

Karata Liu

This post is to guide you through the extension support of OData URI parser, which was added in ODataLib 6.7 release. You can refer to the following article for basic usage of OData URI parser: All the demo code in this post has been put into ODataSamples project, you can check it out under the Components/UriParser subfolder. Background The OData URI parser implements the logic for processing various URIs according to OData convention. As you may know, the Open Data Protocol (OData) V4 is described by a series of specification documents. Among them, the Uri parser is covered in Part1– Protocol, Part...