# withDashboard

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

Configures whether the Aspire dashboard should be included in the Azure App Service environment.

## Definition

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

## Parameters

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

## Returns

[AzureAppServiceEnvironmentResource](/reference/api/typescript/aspire.hosting.azure.appservice/azureappserviceenvironmentresource.md) `builder`

## Applies to

- [AzureAppServiceEnvironmentResource](/reference/api/typescript/aspire.hosting.azure.appservice/azureappserviceenvironmentresource.md)
