Repository navigation
[docs] Document Front Door Private Link for App Service - #2062
Closed
aspire-repo-bot[bot] wants to merge 1 commit into
Closed
aspire-repo-bot[bot] wants to merge 1 commit into
aspire-repo-bot[bot] wants to merge 1 commit into
Conversation
Co-authored-by: Copilot <[email protected]>
7 of 14 tasks
Contributor
Author
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
Member
|
Superseded by #2084 which consolidates the Front Door Private Link docs. |
Eric Erhardt (eerhardt)
added a commit
that referenced
this pull request
Nov 11, 2026
…App Service (#2084) ## Summary Documents `WithAzureFrontDoorPrivateLink` (`withAzureFrontDoorPrivateLink` in TypeScript) for Azure Container Apps and Azure App Service in Aspire 17.0. This consolidates the two bot drafts, #1965 (Container Apps) and #2062 (App Service), into one set of docs and supersedes both. The source changes are microsoft/aspire#21228 and microsoft/aspire#21396, and the final code and README on `release/17.0` are identical to `main` for the affected files. What changed: - `azure-front-door.mdx`: new **Private Link origins** section with requirements and SKU constraints, a complete TypeScript and C# example for each target, what Aspire provisions (with a generated Bicep excerpt), App Service publish/deploy behavior, deployment slots, existing sites, service-to-service limits, connection approval commands for both targets, the private endpoint region mapping and override (TypeScript and C#), and a troubleshooting table. The frontmatter description now mentions private origins. - Short cross-links from the App Service host page, the Configure Container Apps page, the two Azure deployment pages, and the Azure security best practices page. The security page no longer says App Service can only be a public website model. - `ASPIREAZURE003` diagnostic page: notes that `WithAzureFrontDoorPrivateLink` reports the diagnostic and adds an example. Decisions and assumptions: - Examples use `AddDotnetProject` / `addDotnetProject`, because `AddProject` is marked obsolete on `release/17.0`. The new section notes the `Aspire.Hosting.Dotnet` package requirement. - The TypeScript App Service example uses `withDashboard({ enable: false })`. The `withDashboard(false)` form in the source PR description is a type error against the generated SDK. Existing pages (`deployment/azure/app-service.mdx`, `deployment/azure/container-apps.mdx`) still show `withDashboard(false)`; I left those alone because they are unrelated to this change. - The region override sets a literal region in both languages. The C# parameter-based variant from the Front Door README was left out to keep the TypeScript and C# samples equivalent. TypeScript needs the opt-in, experimental `Aspire.Hosting.Azure.Provisioning.Cdn` package. - App Service plan tiers that support private endpoints come from Azure docs, not from the source PRs. The default Aspire plan (`P0V3`) qualifies. - No `ApiReference` links for the new APIs, because the generated API data in this repo (13.6) does not contain them yet. - Did not edit the 17.0 what's-new page, per the task scope. Not verified and flagged in the docs where relevant: - Same-environment Container Apps calls when public network access is disabled. The source PR says this was not verified against a deployed environment, so the docs tell readers to verify after the first deployment. - An end-to-end Container Apps deployment. Source PR #21396 deployed App Service end to end (27 steps, direct URL returned 403, Front Door returned 200). Source PR #21228 did not run an end-to-end deployment. ## Third-party links and affiliations None. The added links point to Microsoft Learn and to NuGet.org package pages for Aspire packages. ## Validation - `pnpm install --frozen-lockfile` (from `src/frontend`): passed. - `pnpm exec vitest run --config vitest.config.ts tests/unit/seo-lengths.vitest.test.ts tests/unit/api-reference-components.vitest.test.ts tests/unit/typescript-first-apphost-tabs.vitest.test.ts`: passed (3 files, 8 tests). - `pnpm test:unit:twoslash-blocks`: passed (2 tests). No new `twoslash` fences were added. - `pnpm dev`, then requesting all 7 edited pages: all returned HTTP 200 with no error overlay. Checked the rendered tabs, code blocks, and troubleshooting table with `playwright-cli`. - TypeScript samples: type-checked with `tsc` against the SDK generated by `aspire add` for `17.1.0-preview.1.26556.5` (Front Door, Container Apps, App Service, Dotnet, and Provisioning.Cdn packages). Passed. `withAzureFrontDoorPrivateLink` is present on both `AzureContainerAppEnvironmentResource` and `AzureAppServiceEnvironmentResource`, and on `17.0.0-preview.1.26552.6` for Container Apps. - C# samples: `dotnet build apphost.cs` with the same packages: passed with no warnings. Removing the `#pragma` produced error `ASPIREAZURE003`. - `aspire publish` for the TypeScript Container Apps sample (with the region override) and the App Service sample: both succeeded. The generated Bicep confirmed the `Premium_AzureFrontDoor` SKU, `publicNetworkAccess: 'Disabled'`, `managedEnvironments` and `sites` group IDs, the request message, `privateLinkLocation: 'westus2'`, and the `<name>_website_resourceId_input` parameters in `main.bicep`. - Not run: `pnpm build` (CI does this per repo policy) and an end-to-end Azure deployment. --------- Co-authored-by: Copilot App <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents changes from microsoft/aspire#21396
Author:
@eerhardt(source PR author per workflow actor)Target branch: Targeting
release/17.0based on the source PR milestone17.0(exact_match).Why: The source PR lets App Service workloads be private origins behind Azure Front Door via
WithAzureFrontDoorPrivateLink. The Front Door docs had no coverage. Triggered signals:integration_readme_changed,pr_body_has_cli_flag_mention,pr_body_has_user_facing_section.Changes: Added a "Private Link origins for Azure App Service" section (C# and TypeScript examples, per-website approval steps, deployment slot behavior, and limitations).
Files modified (updated page):
src/frontend/src/content/docs/integrations/cloud/azure/azure-front-door.mdx