Supercharging your Web APIs with OData and ASP.NET Core



OData (Open Data Protocol) is an ISO/IEC approved, OASIS standard that defines a set of best practices for building and consuming Web APIs.

In this episode, Hassan Habib joins Jeremy to show us how we can easily add OData support to an existing Web API built with ASP.NET Core.

[01:26] – What is OData?
[04:38] – Demo
[07:18] – How can you add OData to an existing Web API?
[12:54] – How can you shape the results of a Web API call?
[14:13] – How can you define ordering with OData?
[15:07] – How can you include related entities?
[16:04] – How can you enable filtering?

OData
https://www.odata.org

ASP.NET Core OData now available
https://devblogs.microsoft.com/odata/asp-net-core-odata-now-available?WT.mc_id=dotnet-channel9-cephilli

OData for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=stansw.vscode-odata&WT.mc_id=ondotnet-channel9-cephilli

REST API Industry Debate: OData vs GraphQL vs ORDS
https://www.progress.com/blogs/rest-api-industry-debate-odata-vs-graphql-vs-ords

Comments are closed.