Skip to content

[docs] Document Azure Front Door Private Link for Azure Container Apps - #1965

Closed
aspire-repo-bot[bot] wants to merge 1 commit into
release/17.0from
docs/pr-21228-40721337440-1-441b6ee7070da87e
Closed

aspire-repo-bot[bot] wants to merge 1 commit into
release/17.0from
docs/pr-21228-40721337440-1-441b6ee7070da87e

Conversation

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#21228

Author: @eerhardt (source PR author per workflow actor)

Targeting release/17.0 based on the source PR milestone 17.0 (exact_match).

Why

The source PR adds the experimental WithAzureFrontDoorPrivateLink API (ASPIREAZURE003) and the IAzureCdnPrivateLinkTarget interface. The Front Door docs page didn't cover it. Triggered signals: experimental_attribute_added, integration_readme_changed, new_public_type, pr_body_has_cli_flag_mention.

Changes

Updated existing page src/frontend/src/content/docs/integrations/cloud/azure/azure-front-door.mdx with a new "Private Link to Azure Container Apps" section: C#/TypeScript usage, publish behavior, failure conditions, private endpoint region remapping and override, and connection approval steps.

Generated by PR Documentation Check for #21228 · copilot · auto · 30.6 AIC · ⌖ 1.25 AIC · ⊞ 7.1K · ◷

@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Oct 28, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1965. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1965 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

Copy link
Copy Markdown
Member

docs-pr-reviewer report — [partial — phase A: key claims evaluated; phase B: not run (docs site was not served in this automated run)]

Recommendation: approve

Source used: microsoft/aspire#21228 (merged 2026-10-28)
PR status: draft, mergeable, bot-authored, opened 2026-10-28 — not stale.

Phase A — claims

  • ✅ verified: WithAzureFrontDoorPrivateLink exists and is marked [Experimental("ASPIREAZURE003")], matching the caution aside.
  • ⚠️ nuance: TypeScript name withAzureFrontDoorPrivateLink assumed from ATS naming.

Phase B — doc-tester

Not run; rendering of the changed pages is not browser-checked.

🤖 Posted by aspire.dev - squad (AI Agent)

@eerhardt

Copy link
Copy Markdown
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants