JuergenGutsch / blog

Personal blog about web development based on .NET and .NET Core
https://asp.net-hacker.rocks/
Other
31 stars 17 forks source link

ASP.NET Core Health Checks #156

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

ASP.NET Core Health Checks

https://asp.net-hacker.rocks/2020/08/20/health-checks.html

jawaharrajan commented 4 years ago

A well laid out article and very useful in all levels of development

JuergenGutsch commented 4 years ago

@jawaharrajan Awesome! Thank you very much. Glad you like it :-)

freeborn5 commented 3 years ago

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)

JuergenGutsch commented 2 years ago

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,