BCat.Aspire.MailDev
9.0.0
dotnet add package BCat.Aspire.MailDev --version 9.0.0
NuGet\Install-Package BCat.Aspire.MailDev -Version 9.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="BCat.Aspire.MailDev" Version="9.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BCat.Aspire.MailDev --version 9.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BCat.Aspire.MailDev, 9.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 BCat.Aspire.MailDev as a Cake Addin #addin nuget:?package=BCat.Aspire.MailDev&version=9.0.0 // Install BCat.Aspire.MailDev as a Cake Tool #tool nuget:?package=BCat.Aspire.MailDev&version=9.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Aspire.Hosting.MailDev
MailDev integration for .NET Aspire applications. This package provides a simple way to add MailDev to your Aspire application for testing emails during development.
Installation
In your AppHost project, install the .NET Aspire Keycloak Hosting library with NuGet:
dotnet add package BCat.Aspire.MailDev
Usage
In your Program.cs
or Aspire host project:
var builder = DistributedApplication.CreateBuilder(args);
// Simple usage
var maildev = builder.AddMailDev("maildev");
// With configuration
var maildev = builder.AddMailDev("maildev", options => options
.WithPorts(httpPort: 8025, smtpPort: 2525)
.WithAuth("admin", "secret"));
// Reference in other projects
var api = builder.AddProject<Projects.MyApiProject>("api")
.WithReference(maildev);
Feedback & contributing
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- Aspire.Hosting.AppHost (>= 9.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.