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                
#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                

NuGet Downloads

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

https://github.com/dotnet/aspire

Product 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.

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
9.0.0 28 11/13/2024
8.2.2.5 71 11/3/2024
8.2.2.4 70 11/2/2024
8.2.2.3 66 11/2/2024
8.2.2.2 60 11/2/2024
8.2.2.1 67 11/2/2024
8.2.2 71 11/2/2024