Open utterances-bot opened 4 years ago
A well laid out article and very useful in all levels of development
@jawaharrajan Awesome! Thank you very much. Glad you like it :-)
Besides the hard coded check of <100, How would you do checks for database connections or external API calls? Do you code all that stuff? What I am trying to say is how would you use this in a real API? (Apologies for the poor English)
Hi @freeborn5
Sorry for the late reply. Yes, I would code that in the case is no existing health check. Did you had a look here: https://github.com/xabaril/AspNetCore.Diagnostics.HealthChecks There are a lot of existing health checks you can use to check databases or external APIs.
Cheers,
ASP.NET Core Health Checks
https://asp.net-hacker.rocks/2020/08/20/health-checks.html