Skip to content

Document dashboard and AppHost terminals for Aspire 13.6 - #1684

Merged
Mitch Denny (mitchdenny) merged 27 commits into
release/13.6from
mitchdenny-dashboard-terminal-documentation
Sep 29, 2026
Merged

Mitch Denny (mitchdenny) merged 27 commits into
release/13.6from
mitchdenny-dashboard-terminal-documentation

Conversation

@mitchdenny

@mitchdenny Mitch Denny (mitchdenny) commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

Summary

Related to #1663. Targets release/13.6.

  • Add an overview and focused guides for resource terminals, ephemeral terminals, terminal interactions, programmatic automation, and tape playback. Keep them in Dashboard navigation under Terminal features (Preview), preserving the existing resource-terminal URL and redirecting moved guides.
  • Explain terminal authoring with focused sample excerpts and link to complete terminal samples. Keep the tape walkthrough Bash-only, explain text recordings and Source, and clarify ownership and Docker exec cleanup.
  • Consolidate the six integration REPL sections into one TypeScript/C# example per guide, retaining both sets of anchors and integration-specific connection and safety guidance.
  • Reconcile the latest release branch, retaining both terminal-security and cookie-scoping sections. Remove obsolete CLI feature-flag instructions, duplicated Redis/TUI walkthroughs, and unused screenshots.

Publication dependencies

This remains a draft for Aspire 13.6.

  • The sample links use their intended main paths as requested. On September 29, Upgrade all samples to Aspire 13.6.0 aspire-samples#1980 was still open and samples/terminals was not on main. Merge that sample PR before publishing these docs. Sample excerpts were checked against PR head 749fed3693d397081753c2ec2539c155dd88155f.
  • https://aka.ms/aspire/dashboard-terminals still redirects to Bing; authorized provisioning is needed before release.
  • Refresh generated API metadata as part of the release checklist. REPL snippets deliberately omit twoslash while the catalog lacks the complete surface; this does not block the editorial merge.

Third-party links and affiliations

Links to the Charmbracelet VHS syntax reference, mitchdenny/hex1b compatibility documentation, and a Docker/Moby issue. The Hex1b repository is hosted under the PR author's GitHub account. No affiliation with Charmbracelet or Docker/Moby has been declared. Source and sample links point to microsoft/aspire and microsoft/aspire-samples.

Validation

September 29 release reconciliation (ff7839b6):

  • Merged release/13.6 at 5589ce6d, resolved the security-doc conflict, and consolidated six auto-merged duplicate REPL sections.
  • Rendered all six integration guides: exactly one REPL section each, both fragment IDs retained, and TypeScript/C# tabs working.
  • Rendered nine terminal, security, and CLI routes. Confirmed both security sections remain, repeated walkthroughs are gone, and current guides no longer require the obsolete feature flag. Tape playback fits a 390px viewport without page overflow.
  • Verified unconditional terminal/tape command registration against current Aspire release source.
  • Two-slash block gate: 1 file / 2 tests passed. git diff --check passed.
  • Used a separate preview because the pre-existing dev server returned HTTP 500 after the release merge; did not restart the user's shared server.

Earlier editorial/source review confirmed the rqlite excerpts, all six WithRepl methods and TypeScript exports, Dashboard topic continuity, and the section-level Preview badge. This was not a fresh runtime execution of every example.

Earlier matching-staging runtime validation used isolated Aspire CLI 13.6.0+34db30a7d3733229da64a403dfc4e4e4d7a1a43b and matching packages:

  • C# and TypeScript Redis REPLs returned PONG; C# clean exit and reopening passed.
  • Shell smoke tape returned ASPIRE_TAPE_ready; headless automation returned Received:hello; number guessing completed with Found 7 in 6 guesses.
  • Other database clients, Podman, Windows, and live authentication were not runtime-tested.
  • Owned test AppHosts were stopped. Pre-existing generated icon-cache changes are excluded from commits.

No local production build; CI covers production build and broader site checks.

Fixes: #1663

Related to #1663. Add terminal scenarios, tape automation, and CLI references.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@mitchdenny
Mitch Denny (mitchdenny) changed the base branch from main to release/13.6 September 17, 2026 12:27
Comment thread src/frontend/src/content/docs/app-host/terminal-service.mdx Outdated
Comment thread src/frontend/src/content/docs/app-host/terminal-service.mdx Outdated
Mitch Denny and others added 2 commits September 25, 2026 16:22
Update namespace imports, tape producer waits, interaction context guidance, and source pins. Add focused screenshots and terminal navigation, and address reviewer cross-links.

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

# Conflicts:
#	src/frontend/src/content/docs/app-host/with-terminal.mdx
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Frontend HTML artifact ready

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

VS Code: Open PR #1684 artifacts

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

Mitch Denny and others added 22 commits September 27, 2026 15:53
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Preserve the detailed terminal interaction guide alongside the refreshed release screenshots.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Replace custom dock guidance with Redis REPL examples and a matching screenshot. Keep terminal interaction authoring in the deeper guides.

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

Reference terminal samples at their intended main paths, focus the dock walkthrough on TerminalService, and replace the client catalog with concise C# and TypeScript examples in each integration guide.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Move automation helpers and sample guidance into an AppHost automation page, distinguish it from tape playback in navigation, and replace the launch-options table with a code listing.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Preserve existing main-era URLs and add redirects for relocated guides. Extract terminal interactions without changing the examples.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Move the Preview badge to the section, remove custom shell prompts and troubleshooting, and clarify Source and supported recording output.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Consolidate REPL guides while preserving anchors and integration-specific safety guidance. Resolve security documentation conflict, remove stale CLI flag steps, and reduce duplicated walkthroughs and unused assets.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@mitchdenny
Mitch Denny (mitchdenny) marked this pull request as ready for review September 29, 2026 04:59

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

🟡 Changes recommended

The dashboard guide references a header terminal control removed from the current release/13.6 implementation.

Review effort: Balanced
Findings: 1 Low severity

Open (1)
What changed in this PR

Documents Aspire 13.6 terminal experiences across the dashboard, AppHost APIs, CLI automation, and integration REPLs.

Changes:

  • Adds focused terminal, interaction, automation, and tape-playback guides.
  • Consolidates six integration REPL sections.
  • Updates CLI references, navigation, cross-links, and redirects.
File Description
reference/​cli/​commands/​aspire-terminal.mdx Adds tape command coverage.
reference/​cli/​commands/​aspire-terminal-tape.mdx Documents the tape command group.
reference/​cli/​commands/​aspire-terminal-tape-play.mdx Documents tape playback options and output.
reference/​cli/​commands/​aspire-terminal-ps.mdx Adds terminal guide links.
reference/​cli/​commands/​aspire-terminal-attach.mdx Adds terminal guide links.
integrations/​databases/​sql-server/​sql-server-host.mdx Consolidates SQL Server REPL guidance.
integrations/​databases/​postgres/​postgres-host.mdx Consolidates PostgreSQL REPL guidance.
integrations/​databases/​mysql/​mysql-host.mdx Consolidates MySQL REPL guidance.
integrations/​databases/​mongodb/​mongodb-host.mdx Consolidates MongoDB REPL guidance.
integrations/​caching/​valkey/​valkey-host.mdx Consolidates Valkey REPL guidance.
integrations/​caching/​redis/​redis-host.mdx Consolidates Redis REPL guidance.
fundamentals/​custom-resource-commands.mdx Links commands to terminal workflows.
extensibility/​interaction-service.mdx Updates terminal interaction coverage.
diagnostics/​aspireterminal001.mdx Expands diagnostic API coverage.
dashboard/​terminals.mdx Adds the terminal overview and usage guide.
dashboard/​terminal-tape-playback.mdx Adds tape automation guidance.
dashboard/​terminal-interactions.mdx Adds terminal-dialog guidance and examples.
dashboard/​standalone.mdx Clarifies standalone limitations.
dashboard/​overview.mdx Adds terminals to dashboard features.
dashboard/​explore.mdx Updates terminal cross-references.
dashboard/​ephemeral-terminals.mdx Documents AppHost-owned terminals.
dashboard/​automate-terminals.mdx Documents programmatic automation.
app-host/​with-terminal.mdx Expands resource-terminal documentation.
config/​sidebar/​reference.topics.ts Adds tape CLI pages.
config/​sidebar/​docs.topics.ts Removes the old terminal entry.
config/​sidebar/​dashboard.topics.ts Adds the terminal feature group.
config/​redirects.mjs Redirects moved terminal guides.

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

Comment thread src/frontend/src/content/docs/dashboard/terminals.mdx Outdated
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Remove references to the header control removed in Aspire 13.6 and document the backtick shortcut in both dashboard guides.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@mitchdenny
Mitch Denny (mitchdenny) merged commit 89e0903 into release/13.6 Sep 29, 2026
27 of 30 checks passed
@mitchdenny
Mitch Denny (mitchdenny) deleted the mitchdenny-dashboard-terminal-documentation branch September 29, 2026 07:32
David Pine (IEvangelist) added a commit that referenced this pull request Sep 29, 2026
Completes the in-progress `aspire-13-6.mdx` draft by adding the
remaining "Ship Mode" / changelog highlights, without removing any
previously approved content.

## What's added
- **Dashboard:** Native AOT standalone dashboard + Fluent UI Blazor v5
refresh.
- **Integrations:** docked database/cache REPLs (`WithRepl()`), remote
Foundry Local services (`RunAsFoundryLocal(endpoint)`), Cosmos DB
emulator OpenTelemetry.
- **App model:** multithreaded coordinated builds, Project V2 migration
skill for agents.
- **CLI:** pin the CLI via a local tool manifest
(`AspireCliInvocationMode`), MCP config now opt-in in `aspire
new`/`init`.
- **VS Code:** outdated-CLI warning.
- Reworked the "This release introduces" list into a high-level summary
rather than a section-by-section table of contents.

## Update: TODOs and review feedback addressed

- **Merged `release/13.6`** (42 commits, including #1780 and #1684).
When resolving conflicts, I kept this PR's summary list and emoji
headings and took the release branch's corrected facts: .NET project
graduation, `-mt` SDK requirements, and the Blazor gateway publish
support. I kept the Project V2 migration skill and Remote Foundry Local
bullets.
- **All TODOs resolved; the article now has none:**
- Connector Namespace (#1781): links to
`/integrations/cloud/azure/azure-connector-namespace/`.
- Connection-string naming (#1782): links to
`/fundamentals/environment-variables/#migrating-connection-string-consumers`.
  - Foundry Toolbox (#1628): links to the Toolbox walkthrough.
- Docked REPLs (#1777): links to the per-integration **Open an
interactive REPL** sections. The six REPL anchors were broken
(`#add-*-with-a-repl-command`) and are fixed to
`#open-an-interactive-repl`.
- Java (@marshalhayes): added an `addSpringBootApp` / `AddSpringBootApp`
sample, taken from the package README.
- Rust (@afscrome): used the reviewer's
`addRustApp(...).withHttpEndpoint({ env: 'PORT' })` sample.
- **Twoslash:** every TypeScript AppHost fence is now `twoslash`. New
TypeScript-first tabs cover `withRepl`, `withTerminal`, `addRustApp`,
`addSpringBootApp`, `withBuildEnvironment`, `addDenoApp`, and
`addToolbox`.
- **Preview note:** added a "Prerelease packages" note. Java, Rust,
Connector Namespace, and Sandboxes ship as `13.6.0-preview.1`.
- **Deno bullet:** now accurately says `AddDenoApp` is experimental
(`ASPIREDENO001`) and distinct from the Community Toolkit Deno
integration.
- **API vetting:** all 45 API names in the article are verified against
microsoft/aspire `release/13.6` @ `f4c27f2d`. `WithRepl` comes from
microsoft/aspire#20419 and exists on Redis, Valkey, PostgreSQL, MySQL,
SQL Server, and MongoDB.

**Validation** was run against this branch plus the #1787 13.6.0 API
data:
- `twoslash-blocks` passes. A negative control (`withReplz`,
`addSpringBootAppz`) fails with TS2551 as expected.
- 59 API-reference and SEO tests pass.
- All internal links and anchors in the article resolve.

> [!IMPORTANT]
> Merge #1787 first. The new Twoslash blocks need its regenerated 13.6.0
types (`withRepl`, Java, Rust).

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: David Pine <7679720+IEvangelist@users.noreply.github.com>
Copilot-Session: 829e510d-2b06-4301-9759-3bd760c45e5c
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.

Document dashboard terminals and AppHost terminal interactions for 13.6

3 participants