docs-aspire icon indicating copy to clipboard operation
docs-aspire copied to clipboard

[New article]: Conceptual docs for new eventing API

Open mitchdenny opened this issue 1 year ago • 4 comments
trafficstars

Proposed topic or title

.NET Aspire eventing and orchestration

Location in table of contents.

Fundamentals

Reason for the article

In https://github.com/dotnet/aspire/issues/5234 (issue) and https://github.com/dotnet/aspire/pull/5223 (PR) we are introducing a new API that allows developers to subscribe to lifecycle events. The idea is that we have an extensible local eventing mechanism to support orchestration. We might use it to trigger an action once a database container is online so we can initialize the database.

Article abstract

The article will need to introduce IDistributedApplicationEventing and how to publish and subscribe to events. It should show how to subscribe to events globally, and how to subscribe to resource-specific events (which can also be subscribed globally).

Relevant searches

No response


Associated WorkItem - 308090

mitchdenny avatar Aug 12 '24 04:08 mitchdenny

@mitchdenny is this a release 8.2 request?

IEvangelist avatar Aug 15 '24 14:08 IEvangelist

No. This work is building up for 9.0

mitchdenny avatar Aug 15 '24 14:08 mitchdenny

This API will ship in 8.2, but we don't need to go out of our way to document it until 9.0 because its experimental.

mitchdenny avatar Aug 16 '24 01:08 mitchdenny

I think this should be under AppHost not Fundamentals

davidfowl avatar Sep 10 '24 05:09 davidfowl