Skip to content

docs: add TypeScript Front Door origin naming example - #1798

Open
Sébastien Ros (sebastienros) wants to merge 1 commit into
mainfrom
sebros/front-door-typescript-sample
Open

Sébastien Ros (sebastienros) wants to merge 1 commit into
mainfrom
sebros/front-door-typescript-sample

Conversation

@sebastienros

Copy link
Copy Markdown
Contributor

Summary

The Aspire 13.6 release notes only showed the Front Door origin-name compatibility override in C#. Add the equivalent TypeScript AppHost sample in synchronized language tabs, with TypeScript first and the existing C# sample unchanged.

Include the experimental CDN provisioning package command and use typed origin lookups and Bicep helpers to reproduce the previous naming policy, including underscore removal, resource-group-only hashing, and the 90-character name limit.

Third-party links and affiliations

None.

Validation

  • pnpm --dir src/frontend test:unit:twoslash-blocks passed.
  • Compiled the updated page with @mdx-js/mdx successfully.
  • git diff --check passed.
  • Verified the provisioning APIs and origin-name limit against the Aspire 13.6 source and generated Bicep snapshot.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The sample matches the Aspire 13.6 APIs, previous naming policy, and repository language-tab conventions.

Review effort: Balanced
Findings: None

What changed in this PR

Adds TypeScript parity for the Aspire 13.6 Front Door origin-name compatibility fallback.

Changes:

  • Adds synchronized TypeScript/C# AppHost tabs.
  • Demonstrates typed origin lookup and legacy naming behavior.
  • Documents the required experimental provisioning package.
File Description
src/​frontend/​src/​content/​docs/​whats-new/​aspire-13-6.mdx Adds the TypeScript Front Door fallback example.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Frontend HTML artifact ready

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

VS Code: Open PR #1798 artifacts

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants