ReconArt.Email.Sender.Identity
1.0.0
Prefix Reserved
dotnet add package ReconArt.Email.Sender.Identity --version 1.0.0
NuGet\Install-Package ReconArt.Email.Sender.Identity -Version 1.0.0
<PackageReference Include="ReconArt.Email.Sender.Identity" Version="1.0.0" />
paket add ReconArt.Email.Sender.Identity --version 1.0.0
#r "nuget: ReconArt.Email.Sender.Identity, 1.0.0"
// Install ReconArt.Email.Sender.Identity as a Cake Addin #addin nuget:?package=ReconArt.Email.Sender.Identity&version=1.0.0 // Install ReconArt.Email.Sender.Identity as a Cake Tool #tool nuget:?package=ReconArt.Email.Sender.Identity&version=1.0.0
ReconArt.Email.Sender.Identity
This package extends ReconArt.Email.Sender with support for ASP.NET Identity
Usage
There are 2 new methods to register an email sender service in your Startup.cs
or Program.cs
, which are exactly the same as their non-identity counterparts, with the exception that they also register IEmailSender
for ASP.NET Identity, as well as accepting a flag of whether or not the ASP.NET Identity implementation should schedule emails or await them.
public void ConfigureServices(IServiceCollection services)
{
// Register IEmailSender for ASP.NET Identity, as well as IEmailSenderService for more flexible usage.
// The ASP.NET Identity implementation will scchedule emails by default, as specified by `useBlockingIdentityService`.
// Setting the flag to true will await the emails instead.
services.AddIdentityEmailSenderService(useBlockingIdentityService: false);
}
The ASP.NET Identity implementation will thrown an InvalidOperationException if sending/scheduling fails.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. |
-
net8.0
- Microsoft.AspNetCore.Identity.UI (>= 8.0.11)
- ReconArt.Email.Sender (>= 1.0.0)
-
net9.0
- Microsoft.AspNetCore.Identity.UI (>= 9.0.0)
- ReconArt.Email.Sender (>= 1.0.0)
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 |
---|---|---|
1.0.0 | 72 | 11/19/2024 |