Soenneker.DNSimple.Client
4.0.596
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.DNSimple.Client --version 4.0.596
NuGet\Install-Package Soenneker.DNSimple.Client -Version 4.0.596
<PackageReference Include="Soenneker.DNSimple.Client" Version="4.0.596" />
<PackageVersion Include="Soenneker.DNSimple.Client" Version="4.0.596" />
<PackageReference Include="Soenneker.DNSimple.Client" />
paket add Soenneker.DNSimple.Client --version 4.0.596
#r "nuget: Soenneker.DNSimple.Client, 4.0.596"
#:package Soenneker.DNSimple.Client@4.0.596
#addin nuget:?package=Soenneker.DNSimple.Client&version=4.0.596
#tool nuget:?package=Soenneker.DNSimple.Client&version=4.0.596
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.896)
- Soenneker.Utils.HttpClientCache (>= 4.0.2095)
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.628 | 122 | 10/15/2026 |
| 4.0.627 | 38 | 10/15/2026 |
| 4.0.626 | 53 | 10/14/2026 |
| 4.0.625 | 105 | 10/14/2026 |
| 4.0.624 | 232 | 10/14/2026 |
| 4.0.623 | 39 | 10/14/2026 |
| 4.0.621 | 35 | 10/14/2026 |
| 4.0.613 | 153 | 10/13/2026 |
| 4.0.612 | 79 | 10/13/2026 |
| 4.0.611 | 74 | 10/13/2026 |
| 4.0.609 | 201 | 10/12/2026 |
| 4.0.608 | 293 | 10/12/2026 |
| 4.0.607 | 111 | 10/12/2026 |
| 4.0.606 | 97 | 10/12/2026 |
| 4.0.605 | 111 | 10/11/2026 |
| 4.0.604 | 121 | 10/11/2026 |
| 4.0.603 | 132 | 10/11/2026 |
| 4.0.602 | 273 | 10/9/2026 |
| 4.0.601 | 693 | 10/1/2026 |
| 4.0.596 | 131 | 9/25/2026 |
Update dependency Soenneker.Utils.HttpClientCache to 4.0.2095 (#1153)