Skip to content

Some Questions about Aspire #1108

Answered by davidfowl
LianwMS asked this question in Q&A
Discussion options

You must be logged in to vote

My understanding is both service discovery and health check are based on the functionality on .net. Aspire seems add a convenient layer on ASP.NET Core library.

Yes. It uses the built in primitives and puts them together in a way that provides an end to end opinionated experience.

In health check, it will expose two APIs: /health and /alive... I cannot understand the different clearly. Is it possible that if the endpoint return healthy for /health but unhealthy for /alive?

health is about getting the health status of a service and all of its dependencies. This can be mapped to a readiness probe in Kubernetes. The alive endpoint tells you if the service itself is healthy irrespective o…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by davidfowl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #1011 on November 29, 2023 17:00.