Soenneker.Graph.Client
4.0.1727
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Graph.Client --version 4.0.1727
NuGet\Install-Package Soenneker.Graph.Client -Version 4.0.1727
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="Soenneker.Graph.Client" Version="4.0.1727" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Graph.Client" Version="4.0.1727" />
<PackageReference Include="Soenneker.Graph.Client" />
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 Soenneker.Graph.Client --version 4.0.1727
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Graph.Client, 4.0.1727"
#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 Soenneker.Graph.Client@4.0.1727
#: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=Soenneker.Graph.Client&version=4.0.1727
#tool nuget:?package=Soenneker.Graph.Client&version=4.0.1727
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Graph.Client
An async thread-safe singleton for the Microsoft Graph client.
Install
dotnet add package Soenneker.Graph.Client
Quick start
using Soenneker.Graph.Client.Registrars;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection();
var result = services.AddGraphClientUtilAsSingleton();
Adds IGraphClientUtil as a singleton service.
What you get
IGraphClientUtil— An async thread-safe singleton for the Microsoft Graph client.GraphClientUtilRegistrar— An async thread-safe singleton for the Microsoft Graph client.
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
GraphClientUtilRegistrar.AddGraphClientUtilAsSingleton(services) |
Adds IGraphClientUtil as a singleton service. |
The same service collection, so additional registrations can be chained. |
GraphClientUtilRegistrar.AddGraphClientUtilAsScoped(services) |
Adds IGraphClientUtil as a scoped service. |
The same service collection, so additional registrations can be chained. |
Practical notes
- Reuse the registered client instead of constructing one per operation.
- Calls that return a cached or singleton value reuse the same instance until the owning service is disposed.
- Dispose instances you own when their scope ends so held resources can be released.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Azure.Identity (>= 1.21.0)
- Microsoft.Graph (>= 6.5.0)
- Soenneker.Extensions.Configuration (>= 4.0.867)
- Soenneker.Utils.AsyncSingleton (>= 4.0.826)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Graph.Client:
| Package | Downloads |
|---|---|
|
Soenneker.Graph.Users
Microsoft Graph user creation, update, lookup, paging, and queued deletion operations. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.1743 | 0 | 9/5/2026 |
| 4.0.1742 | 0 | 9/4/2026 |
| 4.0.1741 | 30 | 9/4/2026 |
| 4.0.1740 | 37 | 9/4/2026 |
| 4.0.1739 | 44 | 9/4/2026 |
| 4.0.1737 | 35 | 9/4/2026 |
| 4.0.1736 | 39 | 9/4/2026 |
| 4.0.1735 | 50 | 9/3/2026 |
| 4.0.1734 | 105 | 8/31/2026 |
| 4.0.1733 | 76 | 8/31/2026 |
| 4.0.1732 | 99 | 8/31/2026 |
| 4.0.1731 | 89 | 8/31/2026 |
| 4.0.1730 | 84 | 8/31/2026 |
| 4.0.1729 | 131 | 8/30/2026 |
| 4.0.1728 | 83 | 8/30/2026 |
| 4.0.1727 | 109 | 8/30/2026 |
| 4.0.1726 | 81 | 8/30/2026 |
| 4.0.1725 | 80 | 8/30/2026 |
| 4.0.1724 | 135 | 8/30/2026 |
| 4.0.1723 | 81 | 8/29/2026 |
Loading failed
Update dependency Soenneker.Extensions.Configuration to 4.0.867 (#2248)