# DistributedApplicationOptions Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [DistributedApplicationOptions](/reference/api/csharp/aspire.hosting/distributedapplicationoptions.md)
- Kind: `Properties`
- Members: `10`

Options for configuring the behavior of [DistributedApplication.CreateBuilder(DistributedApplicationOptions)](/reference/api/csharp/aspire.hosting/distributedapplication/methods.md#createbuilder-distributedapplicationoptions).

## AllowUnsecuredTransport

- Name: `AllowUnsecuredTransport`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/DistributedApplicationOptions.cs)

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

```csharp
public bool AllowUnsecuredTransport { get; set; }
```

## Args

- Name: `Args`
- Modifiers: `nullable` `get; set`
- Returns: `string[]?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/DistributedApplicationOptions.cs)

The command line arguments.

```csharp
public string[]? Args { get; set; }
```

## AssemblyName

- Name: `AssemblyName`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/DistributedApplicationOptions.cs)

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

```csharp
public string? AssemblyName { get; set; }
```

## ContainerRegistryOverride

- Name: `ContainerRegistryOverride`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/DistributedApplicationOptions.cs)

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

```csharp
public string? ContainerRegistryOverride { get; set; }
```

## DashboardApplicationName

- Name: `DashboardApplicationName`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/DistributedApplicationOptions.cs)

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.

```csharp
public string? DashboardApplicationName { get; set; }
```

## DeveloperCertificateDefaultHttpsTerminationEnabled

- Name: `DeveloperCertificateDefaultHttpsTerminationEnabled`
- Modifiers: `nullable` `get; set`
- Returns: `bool?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/DistributedApplicationOptions.cs)

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.

```csharp
public bool? DeveloperCertificateDefaultHttpsTerminationEnabled { get; set; }
```

## DisableDashboard

- Name: `DisableDashboard`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/DistributedApplicationOptions.cs)

Determines whether the dashboard is disabled.

```csharp
public bool DisableDashboard { get; set; }
```

## EnableResourceLogging

- Name: `EnableResourceLogging`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/DistributedApplicationOptions.cs)

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

```csharp
public bool EnableResourceLogging { get; set; }
```

## ProjectDirectory

- Name: `ProjectDirectory`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/DistributedApplicationOptions.cs)

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

```csharp
public string? ProjectDirectory { get; set; }
```

## TrustDeveloperCertificate

- Name: `TrustDeveloperCertificate`
- Modifiers: `nullable` `get; set`
- Returns: `bool?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/DistributedApplicationOptions.cs)

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.

```csharp
public bool? TrustDeveloperCertificate { get; set; }
```
