# Aspire.Hosting.Azure.AppService

- Module: `Aspire.Hosting.Azure.AppService`
- Version: `13.4.0`
- Source: [GitHub](https://github.com/microsoft/aspire)
- Functions: `10`
- Types: `2`

## Types

- [AzureAppServiceEnvironmentResource](/reference/api/typescript/aspire.hosting.azure.appservice/azureappserviceenvironmentresource.md) -- `handle` - 5 members
- [AzureAppServiceSiteConfig](/reference/api/typescript/aspire.hosting.azure.appservice/azureappservicesiteconfig.md) -- `type` - 1 fields -- Polyglot-friendly subset of Azure App Service site configuration.

## Functions

- [addAzureAppServiceEnvironment](/reference/api/typescript/aspire.hosting.azure.appservice/addazureappserviceenvironment.md) -- `method` -- Adds a azure app service environment resource to the distributed application builder.
- [configureSiteConfig](/reference/api/typescript/aspire.hosting.azure.appservice/configuresiteconfig.md) -- `method` -- Configures supported Azure App Service site settings.
- [configureSlotSiteConfig](/reference/api/typescript/aspire.hosting.azure.appservice/configureslotsiteconfig.md) -- `method` -- Configures supported Azure App Service deployment slot site settings.
- [publishAsAzureAppServiceWebsite](/reference/api/typescript/aspire.hosting.azure.appservice/publishasazureappservicewebsite.md) -- `method` -- Publishes the specified compute resource as an Azure App Service or Azure App Service Slot.
- [skipEnvironmentVariableNameChecks](/reference/api/typescript/aspire.hosting.azure.appservice/skipenvironmentvariablenamechecks.md) -- `method` -- Skips validation for environment variable names that Azure App Service may not support.
- [withAcrPullIdentity](/reference/api/typescript/aspire.hosting.azure.appservice/withacrpullidentity.md) -- `method` -- Configures the Azure App Service environment to use the supplied `AzureUserAssignedIdentityResource` as the managed identity that App Service apps use to pull images from the configured container registry (the `AcrPull` identity), instead of having Aspire create a new identity and a new `AcrPull` role assignment.
- [withAzureApplicationInsights](/reference/api/typescript/aspire.hosting.azure.appservice/withazureapplicationinsights.md) -- `method` -- Enables Azure Application Insights for the Azure App Service environment
- [withDashboard](/reference/api/typescript/aspire.hosting.azure.appservice/withdashboard.md) -- `method` -- Configures whether the Aspire dashboard should be included in the Azure App Service environment.
- [withDeploymentSlot](/reference/api/typescript/aspire.hosting.azure.appservice/withdeploymentslot.md) -- `method` -- Configures the deployment slot for all Azure App Services in the environment
- [withHttpsUpgrade](/reference/api/typescript/aspire.hosting.azure.appservice/withhttpsupgrade.md) -- `method` -- Configures whether HTTP endpoints should be automatically upgraded to HTTPS for the Azure App Service environment. By default, HTTP endpoints are upgraded to HTTPS for security and WebSocket compatibility.
