# withDashboard

- Module: [Aspire.Hosting.Azure.AppContainers](/reference/api/typescript/aspire.hosting.azure.appcontainers.md)
- Version: `13.4.0`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire)

Configures whether the Aspire dashboard should be included in the container app environment.

## Definition

```typescript
interface AzureContainerAppEnvironmentResource {
  // ... omitted for brevity
  withDashboard(enable?: boolean): AzureContainerAppEnvironmentResource
}
```

## Parameters

- `enable` (`boolean`) `optional` `= True`

## Returns

[AzureContainerAppEnvironmentResource](/reference/api/typescript/aspire.hosting.azure.appcontainers/azurecontainerappenvironmentresource.md) `builder`

## Applies to

- [AzureContainerAppEnvironmentResource](/reference/api/typescript/aspire.hosting.azure.appcontainers/azurecontainerappenvironmentresource.md)
