Skip to content

[New article]: Customizing resource URLs using new API added in 9.2 #2936

@DamianEdwards

Description

@DamianEdwards

Proposed topic or title

Customizing resource URLs

Location in table of contents.

No response

Reason for the article

New API added in 9.2 in Aspire.Hosting that enables customizing URLs for resources:

  • WithUrl
  • WithUrlForEndpoint
  • WithUrls

Article abstract

Overview of resource URLs including relationship to endpoints. Currently only supports Project, Executable, and Container resources.

Detail of methods available to customize the URLs for a resource.

Detail about when URL customization callbacks run in the app model lifecycle (during before resource started event) and how URLs are only rendered on the dashboard once they're "active". For URLs associated with Endpoints, it's when the endpoint becomes active. For URLs not associated with Endpoints, it's when the resource enters the "Running" state.

Relevant searches

No response


Associated WorkItem - 419031

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.doc-ideaIndicates issues that are suggestions for new topics [org][type][category]

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions