Skip to content

[Update article]: OnXYZ Event Subscriptions #3909

Open
@afscrome

Description

@afscrome

Proposed topic or title

New OnXYZ Methods for resource event subscriptions

Location in table of contents.

https://learn.microsoft.com/en-us/dotnet/aspire/app-host/eventing

Reason for the article

dotnet/aspire#10097 Introduces some new extension methods on IResourceBuilder<T> to enable easier event subscriptions. We should update references to eventing in our docs to use these new methods instead.

  • OnBeforeResourceStarted
  • OnConnectionStringAvailable
  • OnInitializeResource
  • OnResourceEndpointsAllocated
  • OnResourceReady

Article abstract

N/A

Relevant searches

https://github.com/search?q=repo%3Adotnet%2Fdocs-aspire%20Subscribe&type=code


Associated WorkItem - 447402

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.Pri1High priority, do before Pri2 and Pri3area-docsdoc-ideaIndicates issues that are suggestions for new topics [org][type][category]

Type

Projects

Status

🔖 Ready

Relationships

None yet

Development

No branches or pull requests

Issue actions