Built-in framework health checks (ASP.NET Core Health Checks)
Built into the frameworkASP.NET Core's built-in health check mechanism: register a few checks (such as whether the database is reachable), then expose them as HTTP endpoints for the platform to call.
Best forProjects using ASP.NET Core that want the standard way to separate liveness and readiness probes.
Avoid whenThe project is Python or on another non-.NET stack.
Built in with a standard style, and different endpoints can be given different checks (separating liveness from readiness)
The community has ready-made check packages for databases, caches, and message queues
Works naturally with the Host's graceful shutdown
Only applicable to C# / ASP.NET Core
Checks that are too heavy (running complex SQL every time) put extra pressure on dependencies
Returns only a simple status by default; a nicer UI needs another package or your own code