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
                    
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.DNSimple.Client" Version="4.0.598" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.DNSimple.Client" Version="4.0.598" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.DNSimple.Client" />
                    
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.DNSimple.Client --version 4.0.598
                    
#r "nuget: Soenneker.DNSimple.Client, 4.0.598"
                    
#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.DNSimple.Client@4.0.598
                    
#: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.DNSimple.Client&version=4.0.598
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.DNSimple.Client&version=4.0.598
                    
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

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 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. 
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.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
Loading failed

Updated Multiple NuGet packages