Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

[New article]: WaitFor/WaitForCompletion docs #1556

@mitchdenny

Description

@mitchdenny

Proposed topic or title

Controlling service startup

Location in table of contents.

No response

Reason for the article

We are introducing WaitFor and WaitForCompletion APIs in .NET Aspire 9.0 which will allow resource startup to be controlled for local development. This will also integrate with a health check mechanism for resources which runs within the app host.

Article abstract

The article would take a simple application that uses a database and has two services (front-end and backend) and talk through what could happen when starting all these projects locally. Issues like the database not be initialized (writing a console app to initialize the database and using the WaitForCompletion API) and waiting for dependent services to start.

Relevant searches

No response


Associated WorkItem - 308088

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.Pri1High priority, do before Pri2 and Pri3doc-ideaIndicates issues that are suggestions for new topics [org][type][category]fundamentalsContent related to fundamentals.in-prokr-freshnessOKR: Freshness of content📦 release-9.0Used to track doc updates for release 9.0 of .NET Aspire.

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions