Soenneker.Graph.Client 4.0.1722

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Graph.Client --version 4.0.1722
                    
NuGet\Install-Package Soenneker.Graph.Client -Version 4.0.1722
                    
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.1722" />
                    
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.1722" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Graph.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 Soenneker.Graph.Client --version 4.0.1722
                    
#r "nuget: Soenneker.Graph.Client, 4.0.1722"
                    
#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.1722
                    
#: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.1722
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Graph.Client&version=4.0.1722
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

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 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.

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.1734 49 8/31/2026
4.0.1733 36 8/31/2026
4.0.1732 49 8/31/2026
4.0.1731 44 8/31/2026
4.0.1730 46 8/31/2026
4.0.1729 67 8/30/2026
4.0.1728 48 8/30/2026
4.0.1727 59 8/30/2026
4.0.1726 47 8/30/2026
4.0.1725 45 8/30/2026
4.0.1724 75 8/30/2026
4.0.1723 45 8/29/2026
4.0.1722 151 8/29/2026
4.0.1721 48 8/29/2026
4.0.1720 44 8/29/2026
4.0.1719 129 8/26/2026
4.0.1718 68 8/26/2026
4.0.1717 110 8/25/2026
4.0.1716 136 8/21/2026
4.0.1715 396 8/18/2026
Loading failed

Improve README usability and API guidance