Answer
Health checks monitor service and dependency availability.
- Use
Microsoft.Extensions.Diagnostics.HealthChecks. - Expose a
/healthendpoint. - Check database connections, external APIs, disk, cache, etc.
- Integrate with monitoring tools (Kubernetes, Azure, AWS, Prometheus).