Soenneker.Neon.HttpClients 11.0.200

Prefix Reserved
dotnet add package Soenneker.Neon.HttpClients --version 11.0.200
                    
NuGet\Install-Package Soenneker.Neon.HttpClients -Version 11.0.200
                    
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.Neon.HttpClients" Version="11.0.200" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Neon.HttpClients" Version="11.0.200" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Neon.HttpClients" />
                    
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.Neon.HttpClients --version 11.0.200
                    
#r "nuget: Soenneker.Neon.HttpClients, 11.0.200"
                    
#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.Neon.HttpClients@11.0.200
                    
#: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.Neon.HttpClients&version=11.0.200
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Neon.HttpClients&version=11.0.200
                    
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

alternate text is missing from this package README image Soenneker.Neon.HttpClients

Provides a cached, authenticated HttpClient for the Neon management API.

Installation

dotnet add package Soenneker.Neon.HttpClients

Configuration

{
  "Neon": {
    "ApiKey": "your-api-key"
  }
}

Neon:ClientBaseUrl can override the default https://console.neon.tech/api/v2 endpoint. Neon:AuthHeaderName and Neon:AuthHeaderValueTemplate can override the default Authorization: Bearer {token} header.

Usage

using Soenneker.Neon.HttpClients.Abstract;
using Soenneker.Neon.HttpClients.Registrars;

services.AddNeonOpenApiHttpClientAsSingleton();

INeonOpenApiHttpClient neon = serviceProvider
    .GetRequiredService<INeonOpenApiHttpClient>();

HttpClient client = await neon.Get(cancellationToken);

Do not dispose the returned HttpClient; the registered provider owns it and removes it from the cache when disposed.

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 (1)

Showing the top 1 NuGet packages that depend on Soenneker.Neon.HttpClients:

Package Downloads
Soenneker.Neon.OpenApiClientUtil

Provides a configured Neon management client and reuses it for the registered service lifetime.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.200 89 12/3/2026
11.0.199 78 12/3/2026
11.0.198 85 12/3/2026
11.0.197 90 12/3/2026
11.0.196 87 12/3/2026
11.0.195 84 12/2/2026
11.0.194 93 12/2/2026
11.0.193 85 12/2/2026
11.0.192 87 12/2/2026
11.0.191 107 12/2/2026
11.0.190 93 12/2/2026
11.0.189 94 12/2/2026
11.0.188 98 12/1/2026
11.0.187 86 12/1/2026
11.0.186 96 12/1/2026
11.0.185 93 12/1/2026
11.0.184 94 12/1/2026
11.0.183 100 12/1/2026
11.0.182 131 11/30/2026
11.0.181 104 11/30/2026
Loading failed

Updated Multiple NuGet packages