Aspire.Hosting.Azure.AppService
Official
📦 Aspire.Hosting.Azure.AppServicev17.0.0Import path
apphost/modules/aspire10Functions
7Types
7 types, 10 functions and 0 members
Handles
DTOs
Functions
AzureAppServiceEnvironmentResource
method
WithAcrPullIdentitybuilderConfigures 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.WithAcrPullIdentity(identityBuilder AzureUserAssignedIdentityResource) AzureAppServiceEnvironmentResourcemethod
WithAzureApplicationInsightsbuilderEnables Azure Application Insights for the Azure App Service environment
WithAzureApplicationInsights(options ...*WithAzureApplicationInsightsOptions) AzureAppServiceEnvironmentResourcemethod
WithDashboardbuilderConfigures whether the Aspire dashboard should be included in the Azure App Service environment.
WithDashboard(options ...*WithDashboardOptions) AzureAppServiceEnvironmentResourcemethod
WithDeploymentSlotbuilderConfigures the deployment slot for all Azure App Services in the environment
WithDeploymentSlot(deploymentSlot any) AzureAppServiceEnvironmentResourcemethod
WithHttpsUpgradebuilderConfigures 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.
WithHttpsUpgrade(options ...*WithHttpsUpgradeOptions) AzureAppServiceEnvironmentResourceDistributedApplicationBuilder
IComputeResource
method
PublishAsAzureAppServiceWebsitebuilderPublishes the specified compute resource as an Azure App Service or Azure App Service Slot.
PublishAsAzureAppServiceWebsite(options ...*PublishAsAzureAppServiceWebsiteOptions) IComputeResourcemethod
SkipEnvironmentVariableNameChecksbuilderSkips validation for environment variable names that Azure App Service may not support.
SkipEnvironmentVariableNameChecks() IComputeResource