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

Updated Multiple NuGet packages