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 a Progressive Web App with Blazor WebAssembly

    Not surprisingly, it's dead easy to create an app in Blazor that runs outside of the browser window and (potentially) in an offline mode. Before you get carried away, though, there are some key design decisions to make.

  • GitLab Takes Over VS Code Extension, Plans Improvements

    DevOps specialist GitLab has officially taken over the control of a GitLab extension for Microsoft's open source, cross-platform Visual Studio Code editor.

  • VS Code Python Tool Now Does Native Notebooks

    The Python Extension for VS Code Insiders team is previewing the newest implementation of notebooks, used frequently in data science with offerings such as Jupyter Notebooks.

  • As .NET 5 Nears, Content/Documentation Reorganization Starts

    A GitHub project is seeking to reorganize documentation and developer content in advance of the November debut of .NET 5, a unification of all things .NET that combines. .NET Core and other components.

  • Windows Devs Get Cross-Platform Page, Issues Repo

    Developers doing their coding on the Windows OS have received two new resource gifts from Microsoft: a new landing page for those using cross-platform technologies and a new GitHub repo with which to report issues to Windows engineering teams.Developers doing their coding on the Windows OS have received two new resource gifts from Microsoft: a new landing page for those using cross-platform technologies and a new GitHub repo with which to report issues to Windows engineering teams.

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events