News

OData 4.5 for Web API, ODataLib 6.10.0 Now Available

New versions of OData and ODataLib were released late last month on NuGet.

New versions of OData and ODataLib were released late last month via NuGet.

Open Data Protocol (OData) is a data access protocol that Microsoft helped to define and develop to allow data to connect data sources via Web sites. It essentially allows developers to create REST-based data services to be published and edited by Web clients using simple HTTP messages.

OData 4.5 for Web API has a number of new features:

  • Referential constraint support: It allows for defining referential constraint either using an attribute, by convention or programmatically.
  • Relax flag for version constraint: An IsRelaxedMatch flag allows for a relaxed version constraint. By default it's false, but setting it to true allows for requests to be from OData version 3 or 4 headers.
  • DateTime: There's also an API for configuring Time Zone on the server-side because DateTime isn't supported as a primitive type.

This is just a highlight, so be sure to read the blog post for a full list of features and bug fixes.

ODataLib 6.10.0 provides a number of components that can be used with OData v4 clients and services, as needed. New features include:

  • EdmLib support for EdmError/EdmLocation containing a file name 
  • Client support for getting instance annotations from payload or getting metadata annotations
  • Client support for posting an action with entity-valued parameters that only contain setted properties

Descriptions of these features, as well as bug fixes, can be seen on the NuGet site; ODataLib 6.10.0 itself can be downloaded and contributed to through CodePlex.

About the Author

You Tell 'Em, Readers: If you've read this far, know that Michael Domingo, Visual Studio Magazine Editor in Chief, is here to serve you, dear readers, and wants to get you the information you so richly deserve. What news, content, topics, issues do you want to see covered in Visual Studio Magazine? He's listening at [email protected].

comments powered by Disqus

Featured

  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

Subscribe on YouTube