Soenneker.Resend.ClientUtil
4.0.391
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Resend.ClientUtil --version 4.0.391
NuGet\Install-Package Soenneker.Resend.ClientUtil -Version 4.0.391
<PackageReference Include="Soenneker.Resend.ClientUtil" Version="4.0.391" />
<PackageVersion Include="Soenneker.Resend.ClientUtil" Version="4.0.391" />
<PackageReference Include="Soenneker.Resend.ClientUtil" />
paket add Soenneker.Resend.ClientUtil --version 4.0.391
#r "nuget: Soenneker.Resend.ClientUtil, 4.0.391"
#:package Soenneker.Resend.ClientUtil@4.0.391
#addin nuget:?package=Soenneker.Resend.ClientUtil&version=4.0.391
#tool nuget:?package=Soenneker.Resend.ClientUtil&version=4.0.391
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 | 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.Resend.Client (>= 4.0.326)
- Soenneker.Resend.OpenApiClient (>= 4.0.156)
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.394 | 58 | 10/17/2026 |
| 4.0.393 | 207 | 10/15/2026 |
| 4.0.392 | 47 | 10/14/2026 |
| 4.0.391 | 58 | 10/14/2026 |
| 4.0.389 | 102 | 10/14/2026 |
| 4.0.388 | 49 | 10/14/2026 |
| 4.0.381 | 100 | 10/13/2026 |
| 4.0.378 | 304 | 10/11/2026 |
| 4.0.377 | 79 | 10/11/2026 |
| 4.0.376 | 124 | 10/11/2026 |
| 4.0.375 | 220 | 10/10/2026 |
| 4.0.374 | 333 | 10/1/2026 |
| 4.0.373 | 234 | 9/30/2026 |
| 4.0.372 | 156 | 9/29/2026 |
| 4.0.371 | 219 | 9/26/2026 |
| 4.0.370 | 147 | 9/26/2026 |
| 4.0.369 | 149 | 9/25/2026 |
| 4.0.368 | 136 | 9/25/2026 |
| 4.0.366 | 154 | 9/24/2026 |
| 4.0.365 | 372 | 9/19/2026 |
Update dependency dotnet-sdk to v10.0.402 (#677)