Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDashboard

Method
📦 Aspire.Hosting.Docker v17.0.0
func (DockerComposeEnvironmentResource) WithDashboard(options ...*WithDashboardOptions) DockerComposeEnvironmentResource

Signature

methodWithDashboardbuilder
Enables the Aspire dashboard for telemetry visualization in this Docker Compose environment.
WithDashboard(options ...*WithDashboardOptions) DockerComposeEnvironmentResource
options...*WithDashboardOptionsOptional settings, described under Options.

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

Enabled*boolWhether to enable the dashboard. Default is true.
DockerComposeEnvironmentResource

The resource builder.

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

Applies to

This method applies to the following types: