Soenneker.DNSimple.Client
4.0.592
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.DNSimple.Client --version 4.0.592
NuGet\Install-Package Soenneker.DNSimple.Client -Version 4.0.592
<PackageReference Include="Soenneker.DNSimple.Client" Version="4.0.592" />
<PackageVersion Include="Soenneker.DNSimple.Client" Version="4.0.592" />
<PackageReference Include="Soenneker.DNSimple.Client" />
paket add Soenneker.DNSimple.Client --version 4.0.592
#r "nuget: Soenneker.DNSimple.Client, 4.0.592"
#:package Soenneker.DNSimple.Client@4.0.592
#addin nuget:?package=Soenneker.DNSimple.Client&version=4.0.592
#tool nuget:?package=Soenneker.DNSimple.Client&version=4.0.592
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 | 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. |
-
net10.0
- Soenneker.Extensions.Configuration (>= 4.0.895)
- Soenneker.Utils.HttpClientCache (>= 4.0.2090)
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 |
|---|---|---|
| 4.0.601 | 153 | 10/1/2026 |
| 4.0.600 | 205 | 9/29/2026 |
| 4.0.599 | 145 | 9/29/2026 |
| 4.0.598 | 224 | 9/26/2026 |
| 4.0.597 | 201 | 9/25/2026 |
| 4.0.596 | 120 | 9/25/2026 |
| 4.0.595 | 88 | 9/25/2026 |
| 4.0.594 | 90 | 9/25/2026 |
| 4.0.593 | 179 | 9/24/2026 |
| 4.0.592 | 86 | 9/24/2026 |
| 4.0.591 | 616 | 9/17/2026 |
| 4.0.590 | 198 | 9/16/2026 |
| 4.0.589 | 172 | 9/16/2026 |
| 4.0.588 | 196 | 9/16/2026 |
| 4.0.587 | 239 | 9/16/2026 |
| 4.0.586 | 95 | 9/16/2026 |
| 4.0.585 | 119 | 9/15/2026 |
| 4.0.584 | 96 | 9/15/2026 |
| 4.0.583 | 136 | 9/15/2026 |
| 4.0.582 | 382 | 9/13/2026 |
Enable Native AOT compatibility analysis