Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDashboard

Method
📦 Aspire.Hosting.Azure.AppService v17.0.0
func (AzureAppServiceEnvironmentResource) WithDashboard(options ...*WithDashboardOptions) AzureAppServiceEnvironmentResource

Signature

methodWithDashboardbuilder
Configures whether the Aspire dashboard should be included in the Azure App Service environment.
WithDashboard(options ...*WithDashboardOptions) AzureAppServiceEnvironmentResource
options...*WithDashboardOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithDashboardOptions argument.

Enable*boolWhether to include the Aspire dashboard. Default is true.
AzureAppServiceEnvironmentResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: