Soenneker.GitHub.ClientUtil 11.0.769

Prefix Reserved
This package has not been indexed yet. It will appear in search results and will be available for install/restore after indexing is complete.
The package icon will become available after this package is indexed.
dotnet add package Soenneker.GitHub.ClientUtil --version 11.0.769
                    
NuGet\Install-Package Soenneker.GitHub.ClientUtil -Version 11.0.769
                    
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.GitHub.ClientUtil" Version="11.0.769" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.GitHub.ClientUtil" Version="11.0.769" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.GitHub.ClientUtil" />
                    
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.GitHub.ClientUtil --version 11.0.769
                    
#r "nuget: Soenneker.GitHub.ClientUtil, 11.0.769"
                    
#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.GitHub.ClientUtil@11.0.769
                    
#: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.GitHub.ClientUtil&version=11.0.769
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.GitHub.ClientUtil&version=11.0.769
                    
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.GitHub.ClientUtil

Provides lazy, cached access to the generated GitHub REST API client over an authenticated shared transport.

Installation

dotnet add package Soenneker.GitHub.ClientUtil

Configure and register

{
  "GH": {
    "Token": "your-github-token"
  }
}
using Soenneker.GitHub.ClientUtil.Registrars;

services.AddGitHubOpenApiClientUtilAsScoped();

Use the client

using Soenneker.GitHub.ClientUtil.Abstract;

public sealed class GitHubUserReader(IGitHubOpenApiClientUtil clients)
{
    public async Task Read(CancellationToken cancellationToken)
    {
        var client = await clients.Get(cancellationToken);
        var user = await client.User.GetAsync(
            cancellationToken: cancellationToken);
    }
}

The HTTP provider supplies the bearer token and required GitHub headers. The generated client therefore uses anonymous Kiota authentication and does not add a duplicate Authorization value.

Use AddGitHubOpenApiClientUtilAsSingleton() when the application should share one generated client. A scoped utility borrows the singleton HTTP provider, so disposing the scope does not destroy the shared transport.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Soenneker.GitHub.ClientUtil:

Package Downloads
Soenneker.GitHub.Repositories.Tags

Creates, inspects, compares, and deletes GitHub repository tags

Soenneker.GitHub.Repositories

Creates, discovers, configures, and deletes GitHub repositories.

Soenneker.GitHub.Repositories.Secrets

Lists and manages GitHub Actions repository secrets

Soenneker.GitHub.Repositories.Readmes

Creates and replaces README.md files on GitHub repository branches

Soenneker.GitHub.Repositories.Pages

Reads, creates, updates, and deletes GitHub Pages site configuration.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.769 0 11/7/2026
11.0.768 101 11/6/2026
11.0.767 863 11/4/2026
11.0.766 1,085 11/3/2026
11.0.765 84 11/3/2026
11.0.764 548 11/3/2026
11.0.763 628 11/3/2026
11.0.762 486 11/3/2026
11.0.761 612 11/3/2026
11.0.760 146 11/3/2026
11.0.759 725 11/3/2026
11.0.758 276 11/3/2026
11.0.757 1,431 11/2/2026
11.0.756 1,674 11/2/2026
11.0.755 662 11/2/2026
11.0.754 261 11/2/2026
11.0.753 656 11/2/2026
11.0.752 319 11/2/2026
11.0.751 2,332 10/31/2026
11.0.750 256 10/31/2026
Loading failed

Update dependency Soenneker.GitHub.OpenApiClient to 11.0.297 (#1304)