Soenneker.Resend.ClientUtil 4.0.328

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.328
                    
NuGet\Install-Package Soenneker.Resend.ClientUtil -Version 4.0.328
                    
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.328" />
                    
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.328" />
                    
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.328
                    
#r "nuget: Soenneker.Resend.ClientUtil, 4.0.328"
                    
#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.328
                    
#: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.328
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Resend.ClientUtil&version=4.0.328
                    
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.336 0 9/4/2026
4.0.335 0 9/4/2026
4.0.334 0 9/4/2026
4.0.333 29 9/4/2026
4.0.332 39 9/4/2026
4.0.330 45 9/4/2026
4.0.329 32 9/4/2026
4.0.328 64 9/3/2026
4.0.327 53 9/3/2026
4.0.326 126 9/1/2026
4.0.325 100 9/1/2026
4.0.324 95 9/1/2026
4.0.323 74 8/31/2026
4.0.322 117 8/31/2026
4.0.321 157 8/31/2026
4.0.320 115 8/31/2026
4.0.319 172 8/30/2026
4.0.318 157 8/30/2026
4.0.317 226 8/27/2026
4.0.316 131 8/26/2026
Loading failed

Update dependency Soenneker.Resend.OpenApiClient to 4.0.131 (#616)

Automatically merged