InfoQ Homepage News RESTier: A New Framework for Building OData Services

RESTier: A New Framework for Building OData Services


The Microsoft OData Team has made available the preview version of RESTier, a middleware development framework for building OData 4.0 RESTful APIs. RESTier is based on ASP.NET Web API.

For a client to work with a data source it has to make a request to Web API OData which forwards the request to RESTier which in turn accesses the data through a data provider. RESTier contains three basic modules: Model – producing a data model, Query – handling GET requests, and Submit – handling CREATE/UPDATE/DELETE (CUD) operations.

Currently RESTier handles the following OData features, falling back on Web API OData via attribute routing for features not supported yet:

  • Basic queries for metadata and top level entities.
  • $select, $expand, $filter, $orderby, $top, $skip, $orderby, $format.
  • Requesting related entities.
  • CUD operations on top-level entities.
  • Batch requests.

It is worth mentioning that according to the OData team the RESTier framework will benefit from future enhancements of the Web API OData, and support for other data providers will be added in the future, besides the Entity Framework which is already supported.

RESTier can be installed with the following Package Manager Console command:

PM> Install-Package Microsoft.Restier -Pre

The RESTier Wiki provides more information on the framework along with basic and advanced samples for using it.

We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.