MailPitContainerResource
Class net10.0
Resource for the MailPit server.
namespace Aspire.Hosting.ApplicationModel;
public class MailPitContainerResource : Aspire.Hosting.ApplicationModel.ContainerResource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ContainerResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferences
6 members
Constructors1
Section titled ConstructorsProperties5
Section titled PropertiesConnectionStringExpressiongetReferenceExpression ConnectionString for MailPit smtp endpoint in the form of smtp://host:port.
HostgetEndpointReferenceExpression Gets the host endpoint reference for the SMTP endpoint.
PortgetEndpointReferenceExpression Gets the port endpoint reference for the SMTP endpoint.
PrimaryEndpointgetEndpointReference Gets the primary SMTP endpoint for the MailPit server.
UriExpressiongetReferenceExpression Gets the connection URI expression for the MailPit SMTP endpoint.