News

ASP.NET Core OData 8 Preview Supports .NET 5, but with Breaking Changes

ASP.NET Core OData, which debuted in July 2018, is out in a v8.0 preview that for the first time supports the upcoming .NET 5 milestone release, slated for Nov. 10.

Microsoft's open source OData -- standing for Open Data Protocol -- is used for creating and consuming queryable and interoperable REST APIs in a simple and standard way, breaking onto the data development scene back in 2007.

Creating an ASP.NET Core OData 8 Web App
[Click on image for larger view.] Creating an ASP.NET Core OData 8 Web App (source: Microsoft).

Earlier this year Microsoft engineer Sam Xu announced "it's time to move OData to .NET 5," and yesterday he announced that was a done deed in ASP.NET OData 8.0 Preview for .NET 5.

"It is the first version of OData supporting .NET 5, especially for ASP.NET Core 5," he said.

But it comes with a catch.

"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."

Thus Xu's Oct. 19 blog post is largely devoted to helping developers work through the changes in a basic bookstore tutorial using a Visual Studio 2019 preview to create an ASP.NET Core 5.0 web application, which can be found on GitHub for those wanting to follow along. The main ASP.NET Core (.NET 5) OData project is also hosted on GitHub.

Because the routing changes were deemed most significant, Xu promised an upcoming post on "routing in ASP.NET Core OData 8.0."

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events