Soenneker.Resend.ClientUtil 4.0.330

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Resend.ClientUtil --version 4.0.330
                    
NuGet\Install-Package Soenneker.Resend.ClientUtil -Version 4.0.330
                    
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.Resend.ClientUtil" Version="4.0.330" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Resend.ClientUtil" Version="4.0.330" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Resend.ClientUtil" />
                    
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.Resend.ClientUtil --version 4.0.330
                    
#r "nuget: Soenneker.Resend.ClientUtil, 4.0.330"
                    
#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.Resend.ClientUtil@4.0.330
                    
#: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.Resend.ClientUtil&version=4.0.330
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Resend.ClientUtil&version=4.0.330
                    
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

alternate text is missing from this package README image Soenneker.Resend.ClientUtil

Provides a lazily initialized Resend client for email, domains, contacts, audiences, broadcasts, templates, topics, events, logs, webhooks, and API keys.

Installation

dotnet add package Soenneker.Resend.ClientUtil

Configuration

{
  "Resend": {
    "ApiKey": "re_xxxxxxxxx"
  }
}

Usage

using Soenneker.Resend.ClientUtil.Abstract;
using Soenneker.Resend.ClientUtil.Registrars;

services.AddResendClientUtilAsSingleton();

public sealed class ResendDomainReader
{
    private readonly IResendClientUtil _resend;

    public ResendDomainReader(IResendClientUtil resend)
    {
        _resend = resend;
    }

    public async Task GetDomains(CancellationToken cancellationToken)
    {
        var client = await _resend.Get(cancellationToken);
        var domains = await client.Domains.GetAsync(
            cancellationToken: cancellationToken);
    }
}

The underlying provider sends the bearer API key and the User-Agent header required by Resend. Use AddResendClientUtilAsScoped() when each scope should have its own lazily initialized API client; both registrations reuse the singleton authenticated HTTP client provider.

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.Resend.ClientUtil:

Package Downloads
Soenneker.Resend.Emails

Sends, batches, retrieves, and cancels scheduled email through Resend.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.338 28 9/5/2026
4.0.337 111 9/5/2026
4.0.336 62 9/4/2026
4.0.335 47 9/4/2026
4.0.334 59 9/4/2026
4.0.333 57 9/4/2026
4.0.332 55 9/4/2026
4.0.330 52 9/4/2026
4.0.329 35 9/4/2026
4.0.328 75 9/3/2026
4.0.327 58 9/3/2026
4.0.326 136 9/1/2026
4.0.325 106 9/1/2026
4.0.324 104 9/1/2026
4.0.323 79 8/31/2026
4.0.322 124 8/31/2026
4.0.321 165 8/31/2026
4.0.320 120 8/31/2026
4.0.319 176 8/30/2026
4.0.318 163 8/30/2026
Loading failed

Updated Soenneker.Resend.Client to 4.0.271