Aggregated Health Check for Aspire AppHost: How to Detect When All Apps Are Ready? #9980
-
Hello everyone, I have the following scenario:
My question: Essentially, I’m looking for an aggregated health check endpoint or mechanism, so that from outside Aspire I can reliably know when it’s safe to begin sending requests and start my E2E tests. I’m aware that with test integrations (e.g., using xUnit) it’s possible to hook into and await the Aspire Init / dispose. However, in my use case, I won’t be using xUnit or another test runner - I just need to know when the app landscape is stable for E2E testing. Many thanks in advance for any ideas or guidance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There's nothing built in, but this might be another case for the apphost as a resource cc @DamianEdwards 😄. You can write code to expose an endpoint and do this (I can whip up an example later). |
Beta Was this translation helpful? Give feedback.
There's nothing built in, but this might be another case for the apphost as a resource cc @DamianEdwards 😄.
You can write code to expose an endpoint and do this (I can whip up an example later).