Skip to content
DocsTry Aspire
DocsTry

withHttpsUpgrade

Method
📦 Aspire.Hosting.Azure.AppService v13.4.0
interface AzureAppServiceEnvironmentResource {
// ... omitted for brevity
withHttpsUpgrade(upgrade?: boolean): AzureAppServiceEnvironmentResource;
}

Signature

methodwithHttpsUpgradebuilder
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.
withHttpsUpgrade(upgrade?: boolean): AzureAppServiceEnvironmentResource
upgradebooleanoptional= True
AzureAppServiceEnvironmentResource

Applies to

This method applies to the following types: