Berrevoets.Aspire.Hosting.MailDev
1.0.3-preview
This is a prerelease version of Berrevoets.Aspire.Hosting.MailDev.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Berrevoets.Aspire.Hosting.MailDev --version 1.0.3-preview
NuGet\Install-Package Berrevoets.Aspire.Hosting.MailDev -Version 1.0.3-preview
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="Berrevoets.Aspire.Hosting.MailDev" Version="1.0.3-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Berrevoets.Aspire.Hosting.MailDev --version 1.0.3-preview
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Berrevoets.Aspire.Hosting.MailDev, 1.0.3-preview"
#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 Berrevoets.Aspire.Hosting.MailDev as a Cake Addin #addin nuget:?package=Berrevoets.Aspire.Hosting.MailDev&version=1.0.3-preview&prerelease // Install Berrevoets.Aspire.Hosting.MailDev as a Cake Tool #tool nuget:?package=Berrevoets.Aspire.Hosting.MailDev&version=1.0.3-preview&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Berrevoets.Aspire.Hosting.MailDev library
Provides extension methods and resource definitions for a .NET Aspire AppHost to configure a MailDev Server.
Getting started
Install the package
In your AppHost project, install the .NET Aspire MailDev Hosting library with NuGet:
dotnet add package Berrevoets.Aspire.Hosting.MailDev
Usage example
Then, in the Program.cs file of AppHost
, add a MailDev resource and consume the connection using the following methods:
var maildev = builder.AddMailDev("maildev");
var myService = builder.AddProject<Projects.MyService>()
.WithReference(maildev);
Additional documentation
https://learn.microsoft.com/dotnet/aspire
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 (>= 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.
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 66 | 11/17/2024 |
9.0.0-preview | 65 | 11/17/2024 |
1.0.3 | 68 | 11/17/2024 |
1.0.3-preview | 60 | 11/17/2024 |
1.0.2-preview | 60 | 11/17/2024 |
1.0.0-preview | 50 | 11/17/2024 |