Soenneker.Graph.Client
4.0.1725
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.1725
NuGet\Install-Package Soenneker.Graph.Client -Version 4.0.1725
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.1725" />
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.1725" />
<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.1725
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Graph.Client, 4.0.1725"
#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.1725
#: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.1725
#tool nuget:?package=Soenneker.Graph.Client&version=4.0.1725
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.866)
- Soenneker.Utils.AsyncSingleton (>= 4.0.821)
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.1763 | 43 | 9/16/2026 |
| 4.0.1762 | 41 | 9/16/2026 |
| 4.0.1761 | 66 | 9/16/2026 |
| 4.0.1760 | 67 | 9/15/2026 |
| 4.0.1759 | 75 | 9/13/2026 |
| 4.0.1758 | 68 | 9/13/2026 |
| 4.0.1757 | 65 | 9/13/2026 |
| 4.0.1756 | 79 | 9/13/2026 |
| 4.0.1755 | 77 | 9/12/2026 |
| 4.0.1754 | 73 | 9/12/2026 |
| 4.0.1753 | 67 | 9/12/2026 |
| 4.0.1752 | 60 | 9/12/2026 |
| 4.0.1750 | 141 | 9/9/2026 |
| 4.0.1749 | 112 | 9/9/2026 |
| 4.0.1748 | 144 | 9/8/2026 |
| 4.0.1747 | 130 | 9/8/2026 |
| 4.0.1746 | 94 | 9/8/2026 |
| 4.0.1745 | 135 | 9/7/2026 |
| 4.0.1743 | 154 | 9/5/2026 |
| 4.0.1725 | 88 | 8/30/2026 |
Loading failed
Update dependency Soenneker.Extensions.Configuration to 4.0.866 (#2246)