Soenneker.DNSimple.Client
4.0.598
Prefix Reserved
dotnet add package Soenneker.DNSimple.Client --version 4.0.598
NuGet\Install-Package Soenneker.DNSimple.Client -Version 4.0.598
<PackageReference Include="Soenneker.DNSimple.Client" Version="4.0.598" />
<PackageVersion Include="Soenneker.DNSimple.Client" Version="4.0.598" />
<PackageReference Include="Soenneker.DNSimple.Client" />
paket add Soenneker.DNSimple.Client --version 4.0.598
#r "nuget: Soenneker.DNSimple.Client, 4.0.598"
#:package Soenneker.DNSimple.Client@4.0.598
#addin nuget:?package=Soenneker.DNSimple.Client&version=4.0.598
#tool nuget:?package=Soenneker.DNSimple.Client&version=4.0.598
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.897)
- Soenneker.Utils.HttpClientCache (>= 4.0.2096)
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.598 | 42 | 9/26/2026 |
| 4.0.597 | 69 | 9/25/2026 |
| 4.0.596 | 50 | 9/25/2026 |
| 4.0.595 | 32 | 9/25/2026 |
| 4.0.594 | 30 | 9/25/2026 |
| 4.0.593 | 79 | 9/24/2026 |
| 4.0.592 | 36 | 9/24/2026 |
| 4.0.591 | 502 | 9/17/2026 |
| 4.0.590 | 193 | 9/16/2026 |
| 4.0.589 | 168 | 9/16/2026 |
| 4.0.588 | 190 | 9/16/2026 |
| 4.0.587 | 235 | 9/16/2026 |
| 4.0.586 | 91 | 9/16/2026 |
| 4.0.585 | 115 | 9/15/2026 |
| 4.0.584 | 91 | 9/15/2026 |
| 4.0.583 | 130 | 9/15/2026 |
| 4.0.582 | 377 | 9/13/2026 |
| 4.0.581 | 96 | 9/13/2026 |
| 4.0.580 | 179 | 9/13/2026 |
| 4.0.579 | 153 | 9/13/2026 |
Updated Multiple NuGet packages