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                
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="ReconArt.Email.Sender.Identity" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ReconArt.Email.Sender.Identity --version 1.0.0                
#r "nuget: ReconArt.Email.Sender.Identity, 1.0.0"                
#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.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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