Skip to content
Docs Try Aspire

withDashboard

Function
📦 Aspire.Hosting.Docker v13.2.0-preview.1.26159.1
interface DockerComposeEnvironmentResource {
// ... omitted for brevity
withDashboard(enabled?: boolean): DockerComposeEnvironmentResource;
}

Signature

method withDashboard builder
Enables or disables the Aspire dashboard for the Docker Compose environment
withDashboard(enabled?: boolean): DockerComposeEnvironmentResource
enabled boolean optional = True
DockerComposeEnvironmentResource

Applies to

This function is an extension method on the following types: