Share via


DistributedApplicationOptions Class

Definition

Options for configuring the behavior of CreateBuilder(DistributedApplicationOptions).

public sealed class DistributedApplicationOptions
type DistributedApplicationOptions = class
Public NotInheritable Class DistributedApplicationOptions
Inheritance
DistributedApplicationOptions

Constructors

DistributedApplicationOptions()

Initializes a new instance of DistributedApplicationOptions.

Properties

AllowUnsecuredTransport

Allows the use of HTTP urls for for the AppHost resource endpoint.

Args

The command line arguments.

AssemblyName

The AssemblyName of the AppHost project for loading configuration attributes; if not set defaults to Assembly.GetEntryAssembly().

ContainerRegistryOverride

When containers are used, use this value instead to override the container registry that is specified.

DashboardApplicationName

The application name to display in the dashboard. For file-based app hosts, this defaults to the directory name. For other apps, it falls back to the environment's application name.

DisableDashboard

Determines whether the dashboard is disabled.

EnableResourceLogging

Enables resource logging. Logs will be written to the logger category (ApplicationName.Resources.{resourceName}).

ProjectDirectory

The directory containing the AppHost project file. If not set, defaults to the directory resolved from assembly metadata.

TrustDeveloperCertificate

Whether to attempt to implicitly add trust for developer certificates (currently the ASP.NET developer certificate) by default at runtime.

Applies to