OData

Create and consume RESTful APIs in a simple and standard way

Latest posts

Nov 11, 2020
Post comments count 0
Post likes count 0

OData Connected Service 0.11.1 Release

Clément Habinshuti

This post announces release of OData Connected Service v0.11.1 and its new features and bug fixes.

Nov 2, 2020
Post comments count 10
Post likes count 1

Routing in ASP.NET Core OData 8.0 Preview

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 really on ASP.NET Core Endpoint Routing and make the OData routing more "positive" as much as possible. In this post, we would like to share more details about the design and implementation of OData Routing in 8.0 preview. Since it's preview, we are wishfully looking...

Oct 19, 2020
Post comments count 6
Post likes count 0

ASP.NET Core OData 8.0 Preview for .NET 5

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 changed a lot comparing to the previous 7.x version. This post is intended to introduce such changes using a basic tutorial about how to build OData service through ASP.NET Core OData 8.0 preview package. Besides, we are looking for requirements of features and reports o...

Sep 8, 2020
Post comments count 2
Post likes count 0

Dynamic properties container property in OData Client

John Gathogo

When working with open types in an OData service, dynamic properties are held in a container property of type . However, support for a similar container property has traditionally been absent in OData client. For this reason, dynamic properties returned from an OData service could only be mapped to declared properties on the client backing type. Where the backing types are autogenerated using a code generator like OData Connected Service, the developer would augment the autogenerated class with a partial class, to avoid messing around with the autogenerated code. For instance, for a property  returned as a dyn...

Jul 13, 2020
Post comments count 2
Post likes count 3

All in One with OData $Batch

Hassan Habib

Introduction We talked in the past about some of the most powerful features OData has to offer such as shaping, filtering and ordering your data all within your API request. But with an API GET request you can only do so much before you reach the maximum length of a URL which is a standard limitation. For instance, let's assume we are looking for information for a particular set of students. If the set is as little as 5 or 10 students, the request might be feasible with a simple API call such as this: But the problem with that approach is that it doesn't scale very well. For instance, if you are looking...

May 19, 2020
Post comments count 1
Post likes count 0

OData Connected Service 0.10.0 Release

Clément Habinshuti

OData Connected Service 0.10.0 has been released and is available in the Visual Studio Marketplace. This release includes the following features and fixes: 1. Support for Open Types Open Types are entity or complex types in OData which have dynamic properties (i.e. properties not declared in the schema). Previously, OData Connected Service did not provide support for dynamic properties in open types. Starting with this version, if a type is marked as open in the service model, OData Connected Service will generate a dictionary called as a property of that type. The will be applied to that prop...

May 17, 2020
Post comments count 3
Post likes count 0

Exploring Graph Native Support for OData

Hassan Habib

We talked in previous articles about the amount of enterprise technologies that offer OData out-of-the-box for it’s RESTFul API communications. some of these technologies are widely spread such as SharePoint, SAP, SQL Server and so many other technologies that leverage a multi-billion user powerful technology like OData. In this article, I’m going to show you how you can leverage OData with Microsoft Graph, so you can power your applications with extensive capabilities to search, sort, order and filter all users information, including calendars, security groups, mail and so much more within Microsoft Graph wit...

Apr 30, 2020
Post comments count 2
Post likes count 0

OData Model Builder now Available

Sam Xu

How to empower developers to build OData Edm model easily from their data model (C# classes) is one of the most important task in OData team. Today, we are pleased to announce the first beta version of OData model builder available at https://www.nuget.org/packages/Microsoft.OData.ModelBuilder. Please try this package by installing as: The basic usage of the Edm model is to use the conventional model builder, here's sample codes   For all other detail usage of the model builder, please refer to: https://docs.microsoft.com/en-us/odata/webapi/model-builder-abstract To release model builder as a si...

Apr 30, 2020
Post comments count 0
Post likes count 0

OData Connected Service 0.9.1 Release

Elizabeth Okerio

Good News! A new version of OData Connected Service is now available in the Visual Studio Marketplace. The new version adds the following new features and bug fixes/enhancements: Features Bug Fixes/Enhancements Auto-selects the last metadata endpoint used in generating proxy classes The endpoint dropdown contains a list of all the recent endpoints used in generating proxy classes as shown above. This feature auto selects the most recent endpoint used in generating proxy classes. This is important when you are working with an endpoint undergoing frequent changes and that requires...