Soenneker.DNSimple.Client
11.0.680
Prefix Reserved
dotnet add package Soenneker.DNSimple.Client --version 11.0.680
NuGet\Install-Package Soenneker.DNSimple.Client -Version 11.0.680
<PackageReference Include="Soenneker.DNSimple.Client" Version="11.0.680" />
<PackageVersion Include="Soenneker.DNSimple.Client" Version="11.0.680" />
<PackageReference Include="Soenneker.DNSimple.Client" />
paket add Soenneker.DNSimple.Client --version 11.0.680
#r "nuget: Soenneker.DNSimple.Client, 11.0.680"
#:package Soenneker.DNSimple.Client@11.0.680
#addin nuget:?package=Soenneker.DNSimple.Client&version=11.0.680
#tool nuget:?package=Soenneker.DNSimple.Client&version=11.0.680
Soenneker.DNSimple.Client
Provides a cached HttpClient configured for DNSimple's production or sandbox API with bearer-token authentication.
Installation
dotnet add package Soenneker.DNSimple.Client
Configuration
{
"DNSimple": {
"Token": "your-api-token",
"Test": false
}
}
Set DNSimple:Test to true to use https://api.sandbox.dnsimple.com/v2/; otherwise the client uses https://api.dnsimple.com/v2/. The token is sent as Authorization: Bearer <Token>.
Registration and usage
using Soenneker.DNSimple.Client.Abstract;
using Soenneker.DNSimple.Client.Registrars;
services.AddDNSimpleClientUtilAsSingleton();
public sealed class DNSimpleIdentityReader(IDNSimpleClientUtil clients)
{
public async Task<HttpResponseMessage> Get(CancellationToken cancellationToken)
{
HttpClient client = await clients.Get(cancellationToken);
return await client.GetAsync("whoami", cancellationToken);
}
}
The provider owns the returned client. Singleton registration keeps one client for the application lifetime. Scoped registration creates a separately owned cache entry per scope, so disposing one scope cannot remove another provider's client.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Extensions.Configuration (>= 11.0.921)
- Soenneker.Utils.HttpClientCache (>= 11.0.2188)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.DNSimple.Client:
| Package | Downloads |
|---|---|
|
Soenneker.DNSimple.OpenApiClientUtil
Provides a cached DNSimple OpenAPI client backed by the configured DNSimple HttpClient. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.680 | 0 | 12/3/2026 |
| 11.0.679 | 0 | 12/3/2026 |
| 11.0.678 | 80 | 12/3/2026 |
| 11.0.677 | 70 | 12/3/2026 |
| 11.0.676 | 48 | 12/3/2026 |
| 11.0.675 | 68 | 12/2/2026 |
| 11.0.674 | 80 | 12/2/2026 |
| 11.0.673 | 83 | 12/2/2026 |
| 11.0.672 | 72 | 12/2/2026 |
| 11.0.671 | 136 | 12/2/2026 |
| 11.0.670 | 95 | 12/2/2026 |
| 11.0.669 | 106 | 12/2/2026 |
| 11.0.668 | 133 | 12/1/2026 |
| 11.0.667 | 152 | 12/1/2026 |
| 11.0.666 | 88 | 12/1/2026 |
| 11.0.665 | 82 | 12/1/2026 |
| 11.0.664 | 155 | 12/1/2026 |
| 11.0.663 | 165 | 11/30/2026 |
| 11.0.662 | 215 | 11/30/2026 |
| 11.0.661 | 205 | 11/30/2026 |
Updated Multiple NuGet packages