Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AzureAppServiceEnvironmentResource.WithDashboard

Method
📦 Aspire.Hosting.Azure.AppService v17.0.0
type AzureAppServiceEnvironmentResource interface {
// ... omitted for brevity
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().

Defined on

This method is defined on the following type: