diff --git a/src/frontend/src/content/docs/integrations/cloud/azure/azure-front-door.mdx b/src/frontend/src/content/docs/integrations/cloud/azure/azure-front-door.mdx index c25e0d447..29584742a 100644 --- a/src/frontend/src/content/docs/integrations/cloud/azure/azure-front-door.mdx +++ b/src/frontend/src/content/docs/integrations/cloud/azure/azure-front-door.mdx @@ -156,6 +156,10 @@ When you publish your app, Aspire generates Bicep alongside the manifest. A Fron **Upgrading from Aspire 13.3.0-preview:** The resource names generated for Front Door profiles, endpoints, origin groups, origins, and routes changed in Aspire 13.4. This can result in duplicate Azure resources (profiles, endpoints, origin groups, routes, and origins) during an upgrade. To avoid duplicates, either remove the existing Azure resources before redeploying, or set resource names explicitly using `ConfigureInfrastructure`. + + ```bicep title="Generated Bicep — frontdoor.bicep" @description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location @@ -196,7 +200,7 @@ resource my_apiOriginGroup 'Microsoft.Cdn/profiles/originGroups@2025-06-01' = { } resource my_apiOrigin 'Microsoft.Cdn/profiles/originGroups/origins@2025-06-01' = { - name: take('myapiOrigin-${uniqueString(resourceGroup().id)}', 90) + name: take('myapiOrigin-${uniqueString(resourceGroup().id, my_api_host)}', 90) properties: { hostName: my_api_host originHostHeader: my_api_host diff --git a/src/frontend/src/content/docs/whats-new/aspire-13-6.mdx b/src/frontend/src/content/docs/whats-new/aspire-13-6.mdx index 716d4292e..212ad6629 100644 --- a/src/frontend/src/content/docs/whats-new/aspire-13-6.mdx +++ b/src/frontend/src/content/docs/whats-new/aspire-13-6.mdx @@ -34,7 +34,7 @@ This release introduces: - **Integration improvements** — debug Blazor WebAssembly apps, discover Dev Tunnel URLs, customize Radius recipes, and protect destructive Azure location changes. - **Updated emulator images** — move Azure App Configuration to `1.2.0` and make the Linux-based vNext Cosmos DB emulator the default. - **Community contributions** — 13 pull requests from eight contributors span major features, integration improvements, reliability fixes, and project tooling. -- **One breaking change** — `RunAsEmulator` now selects the Linux-based vNext Cosmos DB emulator. +- **Two breaking changes** — `RunAsEmulator` now selects the Linux-based vNext Cosmos DB emulator, and Azure Front Door origin names now include the backend hostname. - …and much more. ## 🆙 Upgrade to Aspire 13.6 @@ -298,6 +298,7 @@ Existing integrations add new workflows and safer defaults: - **Azure identity reliability.** Role-assignment Bicep detects service principal and federated workload identity credentials more accurately, and the experimental Sandboxes integration now binds its deployment principal to the scoped data-owner role correctly. - **Cosmos DB client health.** `AddAzureCosmosClient` and `AddKeyedAzureCosmosClient` register default-on health checks that probe account reachability. Set `DisableHealthChecks` to opt out. - **Foundry model refreshes.** Generated Foundry model constants were refreshed throughout the release cycle without changing the hosting API shape. +- **Front Door origin identity.** Generated origin names now include the origin's backend hostname, so switching backends creates a distinct origin instead of reusing the previous origin's Azure identity. Review the [breaking-change guidance](#breaking-changes) before upgrading.