VOOZH about

URL: https://www.nuget.org/packages/Microsoft.OData.Client/

⇱ NuGet Gallery | Microsoft.OData.Client 8.4.3




👁 Image
Microsoft.OData.Client 8.4.3

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.OData.Client --version 8.4.3
 
 
NuGet\Install-Package Microsoft.OData.Client -Version 8.4.3
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.OData.Client" Version="8.4.3" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.OData.Client" Version="8.4.3" />
 
Directory.Packages.props
<PackageReference Include="Microsoft.OData.Client" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.OData.Client --version 8.4.3
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.OData.Client, 8.4.3"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.OData.Client@8.4.3
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.OData.Client&version=8.4.3
 
Install as a Cake Addin
#tool nuget:?package=Microsoft.OData.Client&version=8.4.3
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Microsoft.OData.Client

The Microsoft.OData.Client library allows you to consume data from and interact with OData services from .NET applications. It provides LINQ-enabled client APIs for issuing OData queries and constructing and consuming OData JSON payloads. It supports OData v4 and v4.01.

Installation

You can install the Microsoft.OData.Client package via NuGet:

dotnet add package Microsoft.OData.Client

Or via the NuGet Package Manager Console:

Install-Package Microsoft.OData.Client

Getting Started

Creating an OData Client

To create an OData client, you can use the OData Connected Service in Visual Studio to generate strongly-typed client code for your OData service.

  1. Install the OData Connected Service extension:

  2. Add the OData Connected Service to your project:

    • Right-click your project in the Solution Explorer.
    • Select Add > Connected Service.
    • Choose OData Connected Service and follow the wizard to configure your service.

Example Usage

Here's a simple example of how to use the generated client to interact with an OData service:

using Microsoft.OData.SampleService.Models.TripPin;

var serviceUri = new Uri("https://services.odata.org/V4/TripPinServiceRW/");
var context = new DefaultContainer(serviceUri);

// Querying data
var people = await context.People.ExecuteAsync();
foreach (var person in people)
{
 Console.WriteLine($"{person.FirstName} {person.LastName}");
}

Documentation

For more detailed information, please refer to the official documentation

Community

Contribution

There are many ways for you to contribute to OData .NET. The easiest way is to participate in discussion of features and issues. You can also contribute by sending pull requests of features or bug fixes to us. Contribution to the documentations is also highly welcomed. Please refer to the CONTRIBUTING.md for more details.

Reporting Security Issues

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) . You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

5.3 Support

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (87)

Showing the top 5 NuGet packages that depend on Microsoft.OData.Client:

Package Downloads
Microsoft.OData.Extensions.Client.Abstractions

This package contains the abstract codes you need to create OData client.

Microsoft.OData.ProxyExtensions

.NET helper classes for developing OData service Client Libraries. Learn more about how to use this library @ https://github.com/Microsoft/Vipr/.

BizDoc.Core

Workflow framework engine

BumperLane.Public.Api.Client

Client framework for Virteom APIs.

Microsoft.Office365.OutlookServices

.NET Client Library for Office 365 Mail, Calendar and Contacts API. Learn more about how to use this library at: https://dev.outlook.com/RestGettingStarted/Tutorial/dotnet.

GitHub repositories (14)

Showing the top 14 popular GitHub repositories that depend on Microsoft.OData.Client:

Repository Stars
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
pnp/PnP
SharePoint / Office 365 Developer Patterns and Practices - Archived older solutions. Please see https://aka.ms/m365pnp for updated guidance
OfficeDev/TrainingContent
Training Content used for developer.microsoft.com/office
OData/WebApi
OData Web API: A server library built upon ODataLib and WebApi
telerik/xaml-sdk
The XAML SDK is an easy-to-use infrastructure with 1000+ developer focused examples for most of the Telerik UI for WPF controls.
6bee/Remote.Linq
Simply LINQ your remote resources...
microsoft/Dynamics-AX-Integration
Dynamics AX Integration samples and demos.
OData/ODataSamples
Samples: For ODataLib, OData Web API, RESTier, etc.
zLulus/NotePractice
My_Note 笔记练习demo
hougaard/Youtube-Video-Sources
All the source code from my Youtube videos
znlgis/sod
PDF.NET 的追求:代码的精简,开发、维护的简单与极致的运行效率!
voronov-maxim/OdataToEntity
OData .net core
telerik/kendo-ui-demos-service
Back-end service used for the Kendo UI Online Demos
microsoft/Vipr
Client Library Generation Toolkit
Version Downloads Last Updated
9.0.0-rc 509 5/5/2026
9.0.0-preview.4 2,695 1/18/2026
9.0.0-preview.3 3,612 11/21/2025
9.0.0-preview.2 1,110 8/21/2025
9.0.0-preview.1 926 7/10/2025
8.4.3 555,584 11/13/2025
8.4.2 135,433 10/23/2025
8.4.0 229,460 9/10/2025
8.3.0 237,737 7/10/2025
8.2.4 96,513 6/24/2025
8.2.3 742,061 12/11/2024
8.2.2 152,055 11/19/2024
8.2.1 81,039 11/13/2024
8.2.0 309,223 11/8/2024
8.1.0 148,386 10/17/2024
7.22.0 257,123 7/10/2025
7.21.7 83,800 6/23/2025
7.21.6 409,928 11/8/2024
7.21.5 227,164 10/22/2024
7.21.4 133,403 9/30/2024
Loading failed