Skip to content
Docs Try Aspire

AzureAppServiceEnvironmentExtensions

Class static net10.0
📦 Aspire.Hosting.Azure.AppService v13.1.2-preview.1.26125.13
Extensions for adding Azure App Service Environment resources to a distributed application builder.
namespace Aspire.Hosting;
public static class AzureAppServiceEnvironmentExtensions
{
// ...
}
AddAzureAppServiceEnvironment(IDistributedApplicationBuilder, string)extension
IResourceBuilder<AzureAppServiceEnvironmentResource>
Adds a azure app service environment resource to the distributed application builder.
WithAzureApplicationInsights(IResourceBuilder<AzureAppServiceEnvironmentResource>)extension
IResourceBuilder<AzureAppServiceEnvironmentResource>
Configures whether Azure Application Insights should be enabled for the Azure App Service.
WithAzureApplicationInsights(IResourceBuilder<AzureAppServiceEnvironmentResource>, string)extension
IResourceBuilder<AzureAppServiceEnvironmentResource>
Configures whether Azure Application Insights should be enabled for the Azure App Service.
WithAzureApplicationInsights(IResourceBuilder<AzureAppServiceEnvironmentResource>, IResourceBuilder<ParameterResource>)extension
IResourceBuilder<AzureAppServiceEnvironmentResource>
Configures whether Azure Application Insights should be enabled for the Azure App Service.
WithAzureApplicationInsights(IResourceBuilder<AzureAppServiceEnvironmentResource>, IResourceBuilder<AzureApplicationInsightsResource>)extension
IResourceBuilder<AzureAppServiceEnvironmentResource>
Configures whether Azure Application Insights should be enabled for the Azure App Service.
WithDashboard(IResourceBuilder<AzureAppServiceEnvironmentResource>, bool)extension
IResourceBuilder<AzureAppServiceEnvironmentResource>
Configures whether the Aspire dashboard should be included in the Azure App Service environment.
WithDeploymentSlot(IResourceBuilder<AzureAppServiceEnvironmentResource>, IResourceBuilder<ParameterResource>)extension
IResourceBuilder<AzureAppServiceEnvironmentResource>
Configures the slot to which the Azure App Services should be deployed.
WithDeploymentSlot(IResourceBuilder<AzureAppServiceEnvironmentResource>, string)extension
IResourceBuilder<AzureAppServiceEnvironmentResource>
Configures the slot to which the Azure App Services should be deployed.
View all methods