Skip to content

[docs] Fix persistent container endpoint proxy default docs#1227

Merged
IEvangelist merged 2 commits into
release/13.5from
dapine/fix-persistent-container-endpoint-defaults-13-5
Jun 8, 2026
Merged

[docs] Fix persistent container endpoint proxy default docs#1227
IEvangelist merged 2 commits into
release/13.5from
dapine/fix-persistent-container-endpoint-defaults-13-5

Conversation

@IEvangelist

Copy link
Copy Markdown
Member

Reopens #1219 against release/13.5 after it was merged into release/13.4.

Documents changes from microsoft/aspire#17960 by @danegsta.

Why this PR is needed

PR #17960 corrected a regression in Aspire 13.4 where persistent containers incorrectly defaulted to proxyless endpoints. The fix makes persistent containers behave like session containers — using proxied endpoints by default — while persistent executables and projects retain their proxyless-by-default behavior. The existing docs stated that all persistent resources default to proxyless endpoints, which is now incorrect for containers.

In addition, the PR restores the previous behavior for proxyless container endpoints that specify only a targetPort: the target port is immediately used as the allocated host port, with no delayed allocation.

Changes made

  • app-host/resource-lifetimes.mdx — Updated the persistent lifetime section to distinguish between containers (proxied by default) and executables/projects (proxyless by default). Added a note that proxyless container endpoints with only a targetPort immediately allocate the target port as the host port.
  • fundamentals/networking-overview.mdx — Corrected three locations:
    • Proxyless endpoints definition in the concepts list
    • The "Proxyless endpoints" section (clarifies containers vs. executables, and documents immediate targetPort allocation)
    • The EndpointAnnotation properties reference paragraph
  • whats-new/aspire-13-4.mdx — Corrected two locations in the persistent executable/project lifetime sections (feature spotlight Aside and breaking changes entry) to scope the proxyless-by-default statement to executables and projects only.

Files modified

  • src/frontend/src/content/docs/app-host/resource-lifetimes.mdx
  • src/frontend/src/content/docs/fundamentals/networking-overview.mdx
  • src/frontend/src/content/docs/whats-new/aspire-13-4.mdx

aspire-repo-bot Bot and others added 2 commits June 7, 2026 22:45
Persistent containers use proxied endpoints by default (same as session
containers), while persistent executables and projects default to proxyless
endpoints. Also document that proxyless container endpoints with only a
targetPort immediately allocate the targetPort as the host port.

Corrects docs that previously stated all persistent resources default to
proxyless endpoints.

Documents changes from microsoft/aspire#17960.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 8, 2026 03:46
@IEvangelist IEvangelist added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Jun 8, 2026

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.

Pull request overview

Updates Aspire documentation to reflect the corrected endpoint proxy defaults for persistent containers (proxied by default) versus persistent executables/projects (proxyless by default), and documents the restored behavior for proxyless container endpoints that specify only targetPort.

Changes:

  • Clarify that persistent containers default to proxied endpoints, while persistent executables/projects default to proxyless endpoints.
  • Document that proxyless container endpoints with only targetPort immediately allocate the host port (no deferred allocation).
  • Scope “proxyless-by-default” statements in the Aspire 13.4 release notes to executables/projects (not containers).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/frontend/src/content/docs/app-host/resource-lifetimes.mdx Updates persistent lifetime endpoint-default wording to distinguish containers vs executables/projects and notes immediate targetPort allocation for proxyless containers.
src/frontend/src/content/docs/fundamentals/networking-overview.mdx Corrects proxyless endpoint definition and expands the proxyless endpoints section to reflect container vs executable/project defaults and immediate allocation behavior.
src/frontend/src/content/docs/whats-new/aspire-13-4.mdx Adjusts 13.4 release notes wording so “proxyless-by-default” applies to persistent executables/projects; adds note that persistent containers remain proxied-by-default.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Frontend HTML artifact ready

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

VS Code: Open PR #1227 artifacts

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

@IEvangelist IEvangelist merged commit 05a46fd into release/13.5 Jun 8, 2026
10 checks passed
@IEvangelist IEvangelist deleted the dapine/fix-persistent-container-endpoint-defaults-13-5 branch June 8, 2026 12:32
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.

3 participants