Replaced a hard-coded health response with a DbContext-backed check. Confirmed locally that with an unreachable database the endpoint returns 503 Unhealthy, which made the later deployment smoke test and App Service health-check configuration meaningful.
- What worked
- Registration is one call on the health-checks builder and it integrated with the existing DbContext without extra configuration. Behavior under failure was exactly as expected.