AzureAppServiceEnvironmentExtensions.WithDashboard Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures whether the Aspire dashboard should be included in the Azure App Service environment.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAppServiceEnvironmentResource> WithDashboard(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAppServiceEnvironmentResource> builder, bool enable = true);
static member WithDashboard : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAppServiceEnvironmentResource> * bool -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAppServiceEnvironmentResource>
<Extension()>
Public Function WithDashboard (builder As IResourceBuilder(Of AzureAppServiceEnvironmentResource), Optional enable As Boolean = true) As IResourceBuilder(Of AzureAppServiceEnvironmentResource)
Parameters
The AzureAppServiceEnvironmentResource to configure.
- enable
- Boolean
Whether to include the Aspire dashboard. Default is true.