Repository navigation
[docs] Document ResourceUrlAnnotation.DisplayOrder - #1806
Eric Erhardt (eerhardt) merged 1 commit into
Conversation
Documents changes from microsoft/aspire#20637 Co-authored-by: Copilot <[email protected]>
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
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#20637 (merged 2026-10-01) Phase A — claims
Phase B — doc-testerNot run; rendering of the changed pages is not browser-checked. 🤖 Posted by aspire.dev - squad (AI Agent) |
There was a problem hiding this comment.
🔵 Needs a closer look
DisplayOrder’s nullable contract, dashboard ordering, and example remain unverified against Aspire release/17.0 because upstream source access and required dependencies are unavailable.
No open issues 🎉
What changed in this PR
Documents ResourceUrlAnnotation.DisplayOrder in the existing custom-resource URL guide, covering the API change introduced by microsoft/aspire#20637 for Aspire 17.0.
Changes:
- Explains that higher
DisplayOrdervalues appear first and unset values use default ordering. - Adds a C#
WithUrlForEndpointexample that assigns a display order to a Scalar URL.
| File | Description |
|---|---|
src/frontend/src/content/docs/fundamentals/custom-resource-urls.mdx |
Adds a “Control URL display order” subsection with property guidance and a usage example. |
Review effort: Balanced
Documents changes from microsoft/aspire#20637
@eerhardtTarget branch
Targeting
release/17.0based on the source PR milestone17.0.Why this is needed
microsoft/aspire#20637 makes
ResourceUrlAnnotation.DisplayOrdera non-obsolete, nullable read/writeintproperty (previously an obsolete field), allowing consumers to control the sort order of custom resource URLs in the dashboard without obsolete warnings. Higher values sort higher in the dashboard. This is a user-facing API change with a documented "User-facing usage" example in the source PR, and no existing page on aspire.dev mentionedDisplayOrder, so a docs update was needed.What changed
fundamentals/custom-resource-urls.mdx, right after the existing "Customize endpoint URL" section, explaining theDisplayOrderproperty and showing aWithUrlForEndpointexample settingurl.DisplayOrder = 1000;(mirroring the source PR's example).Files modified
src/frontend/src/content/docs/fundamentals/custom-resource-urls.mdx(updated — existing page, no new pages created)