DistributedApplicationOptions
Classsealednet10.0
Options for configuring the behavior of
DistributedApplication.CreateBuilder . namespace Aspire.Hosting;
public sealed class DistributedApplicationOptions{ // ...}11 members
Constructors1
Section titled Constructors Initializes a new instance of
DistributedApplicationOptions . Properties10
Section titled PropertiesAllowUnsecuredTransport get; setbool Allows the use of HTTP urls for for the AppHost resource endpoint.
AssemblyName get; setstring? The AssemblyName of the AppHost project for loading configuration attributes; if not set defaults to Assembly.GetEntryAssembly().
ContainerRegistryOverride get; setstring? When containers are used, use this value instead to override the container registry that is specified.
DashboardApplicationName get; setstring? The application name to display in the dashboard. For source-file app hosts, this defaults to the AppHost directory name. For other apps, it falls back to the environment's application name.
bool? Whether to attempt to implicitly use a developer certificate (currently the ASP.NET Core development certificate) for server authentication for non-ASP.NET resources by default at runtime.
EnableResourceLogging get; setbool Enables resource logging. Logs will be written to the logger category (ApplicationName.Resources.{resourceName}).
ProjectDirectory get; setstring? The directory containing the AppHost project file. If not set, defaults to the directory resolved from assembly metadata.
TrustDeveloperCertificate get; setbool? Whether to attempt to implicitly add trust for developer certificates (currently the ASP.NET development certificate) by default at runtime. Disabling this option will also disable the automatic use of the developer certificate for server authentication.