News

Microsoft Intros Next-Gen OData

The Microsoft-initiated OData protocol introduced way back in 2007 is in need of an update, the company said in announcing the next-gen version: OData NxT.

OData, short for Open Data Protocol, became an OASIS standard that "enables the creation and consumption of REST APIs, which allow Web clients to publish and edit resources, identified using URLs and defined in a data model, using simple HTTP messages."

The OData.org site says "OData helps you focus on your business logic while building RESTful APIs without having to worry about the various approaches to define request and response headers, status codes, HTTP methods, URL conventions, media types, payload formats, query options, etc. OData also provides guidance for tracking changes, defining functions/actions for reusable procedures, and sending asynchronous/batch requests."

OData
[Click on image for larger view.] OData (source: Microsoft).

The idea to update OData to "withstand the forever changing requirements in software design and architecture" has actually been in the works for a while now, as Microsoft engineer Sam Xu said "it's time to move OData to .NET 5" back in April 2020 in a blog post explaining exactly how to do that.

OData Visual Studio Extension
[Click on image for larger view.] OData Visual Studio Extension (source: Microsoft).

While Xu's post simply explained how to move an existing ASP.NET Core project to .NET 5, Xu was more recently enlisted to help update OData itself, explained Microsoft's Hassan Habib, senior software engineering manager, in a Jan. 4 blog post.

"Few months ago I announced a collaboration with the OData team to start building a new version of OData that can withstand the forever changing requirements in software design and architecture," Habib said. "I got together with Sam Xu and we decided to kick-off a spin-off version of OData.NET that I called OData NxT."

Habib said the project attempts to reconceptualize the core capabilities of OData while at the same time maintaining the original syntax protocols originally published by Microsoft.

He listed these three new fundamental design capabilities to OData.NET:

  • Protocol Agnosticism: The new implementation is aiming towards creating a communication protocol-agnostic library. Which means that OData may no longer be tied up to RESTful APIs communication and can be used broadly across any system-to-system integration.
  • Modularity: Modular technology allows the community of engineering to develop and contribute to any platform to make it more useful to fit particular scenarios that may be beyond the priorities of the core engineering team.
  • Transcendence: Modern software architecture demands certain capabilities in terms of integration. We want to allow OData queries to pass through any number of microservices/lambdas to land on the data-owner service and successfully execute and retrieve a query.

An initial project roadmap shows what's in store:

OData NxT Roadmap
[Click on image for larger view.] OData NxT Roadmap (source: Microsoft).

Meanwhile, he said it's important to note the following about the project:

  • OData NxT does not replace the existing efforts on the current implementation of OData, The OData team will continue to provide more features and new releases of OData while the NxT project effort is going in parallel.
  • This is the official repository of OData.NxT -- you will find there all documentation, references, blog posts, recordings and most importantly discussions.
  • OData NxT is a community effort, we encourage all software design fans out there to join us in shaping the future of OData together. This is a great opportunity to witness the birth of a new technology, step by step and from scratch. My promise is to document every step of the way so you can learn as much as possible from our patterns but also from our mistakes.
  • I use initiatives like these to bring the engineering community closer together to build something great. This will happen through pairing sessions like the ones you see here and through discussions as well.
  • This effort will be mainly driven by myself and Sam Xu -- please reach out if you have any questions or topics of discussion.
  • We appreciate the community excitement for this new initiative, and we hope we can deliver something amazing by the end of this year.

"I'm going to document every single step of the way with blogs, videos and pull requests to help newcomers and contributors understand where we were, and where we are today and where we are headed with this technology," he said.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube