BCat.Aspire.MailDev 8.2.2.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package BCat.Aspire.MailDev --version 8.2.2.2                
NuGet\Install-Package BCat.Aspire.MailDev -Version 8.2.2.2                
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="8.2.2.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BCat.Aspire.MailDev --version 8.2.2.2                
#r "nuget: BCat.Aspire.MailDev, 8.2.2.2"                
#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=8.2.2.2

// Install BCat.Aspire.MailDev as a Cake Tool
#tool nuget:?package=BCat.Aspire.MailDev&version=8.2.2.2                

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.Hosting.Keycloak

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