Identity.Base.Email.SendGrid
0.9.6
dotnet add package Identity.Base.Email.SendGrid --version 0.9.6
NuGet\Install-Package Identity.Base.Email.SendGrid -Version 0.9.6
<PackageReference Include="Identity.Base.Email.SendGrid" Version="0.9.6" />
<PackageVersion Include="Identity.Base.Email.SendGrid" Version="0.9.6" />
<PackageReference Include="Identity.Base.Email.SendGrid" />
paket add Identity.Base.Email.SendGrid --version 0.9.6
#r "nuget: Identity.Base.Email.SendGrid, 0.9.6"
#:package Identity.Base.Email.SendGrid@0.9.6
#addin nuget:?package=Identity.Base.Email.SendGrid&version=0.9.6
#tool nuget:?package=Identity.Base.Email.SendGrid&version=0.9.6
Identity.Base.Email.SendGrid
Comprehensive documentation is available at docs/packages/identity-base-email-sendgrid/index.md. The README below is a condensed quick start.
Optional SendGrid integration for Identity Base. This package provides:
SendGridEmailSender, anITemplatedEmailSenderimplementation that dispatches transactional emails via SendGrid.SendGridOptionsandSendGridTemplateOptionsconfiguration types.- Extension methods to register the sender for both raw
IServiceCollectionscenarios (AddSendGridEmailSender) and theIdentityBaseBuilderfluent API (UseSendGridEmailSender).
Getting Started
- Add the package to your host:
dotnet add package Identity.Base.Email.SendGrid - Register the sender when configuring services:
builder.Services.AddSendGridEmailSender(builder.Configuration); // or if you already have an IdentityBaseBuilder instance identityBuilder.UseSendGridEmailSender(); - Configure the
SendGridsection in your appsettings (keys shown with example values):{ "SendGrid": { "Enabled": true, "ApiKey": "your-sendgrid-api-key", "FromEmail": "noreply@example.com", "FromName": "Identity Base", "Templates": { "Confirmation": "d-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "PasswordReset": "d-bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", "MfaChallenge": "d-cccccccccccccccccccccccccccccccc" } } }
If SendGrid.Enabled is false the sender becomes a no-op, allowing you to disable outbound email in lower environments without changing code.
See docs/guides/sendgrid-email-sender.md in the repository root for configuration guidance, template setup, and troubleshooting tips.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net9.0
- Identity.Base (>= 0.9.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.6 | 89 | 9/1/2026 |
| 0.9.5 | 101 | 8/26/2026 |
| 0.9.4 | 99 | 8/26/2026 |
| 0.9.3 | 173 | 7/27/2026 |
| 0.9.2 | 109 | 7/26/2026 |
| 0.8.10 | 133 | 6/6/2026 |
| 0.8.8 | 364 | 4/6/2026 |
| 0.8.6 | 204 | 3/4/2026 |
| 0.8.5 | 128 | 3/4/2026 |
| 0.8.4 | 147 | 2/9/2026 |
| 0.7.17 | 136 | 1/26/2026 |
| 0.7.16 | 246 | 1/20/2026 |
| 0.7.15 | 244 | 1/6/2026 |
| 0.7.12 | 150 | 12/30/2025 |
| 0.7.9 | 316 | 12/17/2025 |