Objective: ASP.NET Core pattern for healthcheck
- .NET 8;
- Controllers API;
- health checks: Sql Server, remote access, in memory database, ...
Use Swagger to help test
Swagger: Access and use enpoint to generate a list of dummies, this will save it in the memory db
Back to health check the in memory db will be healthy
Comment the check to the local database
Application (statusApplication) will be healthy