ASP.NET API Health Check - How to make sure your APIs are up and running
Vložit
- čas přidán 25. 07. 2024
- ASP.NET Core offers Health Checks Middleware and libraries for reporting the health of app infrastructure components. Health checks are exposed by an app as HTTP endpoints. Health check endpoints can be configured for various real-time monitoring scenarios:
In this video we review
0:00 How to Create a New .NET 6 API Project
0:55 Understanding the Program.cs File
3:05 How to Add Health Checks to the API
6:03 Testing Health Check Endpoint
7:57 Adding SQL Server Health Checks
14:09 Adding Health Check Dashboard
20:37 Conclusion
Full Course: www.udemy.com/course/ultimate...
___________________________________________________________________
I am a Software Engineer and Instructor. I can provide professional development services or private code coaching sessions to help you to accomplish your professional or personal IT goals.
Check out my content on Social Media
Website: www.trevoirwilliams.com/
Instagram: / trevthetrevwill
Facebook: / trevoirwilliams
LinkedIn: / trevoirwilliams
Check out some free courses below:
Microsoft SQL Server 2017 for Everyone! - Database Development Course
• Microsoft SQL Server 2...
PHP Bootstrap 4, Heroku and MySQL Course
• PHP Bootstrap 4, Herok...
PHP Development with Bootstrap, GitHub and Heroku
• PHP Development with B...
Modern PHP Web Development with MySQL, GitHub and Bootstrap 4
• Modern PHP Web Develop...
C# - Basics Uncovered
• C# - Basics Uncovered
Enterprise C# Winforms Application Development
• Enterprise C# Winforms...
Introduction To Website Technologies
• Introduction To Websit...
Full Source Code: github.com/trevoirwilliams/Ho... - Věda a technologie
Full Playlist: czcams.com/play/PLUl9BcvgsrKYa9mUygO9lIGow-1GaNWqs.html
Full Udemy Course: www.udemy.com/course/ultimate-aspnet-5-web-api-development-guide/?referralCode=354D04A638A9196767B3
Great tutorial Trev! 💯
Respect me boss
Thank you very much. You helped me a lot with the same issue using the UI library.
Much love from Mexico!
You're welcome!
Thank you, I upgraded to Net 6 which broke my health checks, this got me back on track. Nuff Respect
Happy to hear that mi boss
Thank you for the great video.
Glad you enjoyed it.
Great video!!
Glad you enjoyed it
Thanks, it was helpful for a introduction. Can you refer any link to dive into more deep with health checks using your video mentioned nuget packages?
I will work on this for you.
Hi, thank you for the tutorial.
Regarding the issue you had at 19:14, your fix didn't work in my case.
Do you know other ways ?
thanks bro
No problem
Hi Trevoir
Thanks for your videos, they are excellent 👍🏿
Thank you for the support brother
@@TrevoirWilliams
It's always a pleasure watching your videos. You are a natural born teacher.
By the way I would like to suggest some topics for your future videos. Where can I do that?
you can shoot me an email with any requests for sure.
@@TrevoirWilliams
Ok thanks a lot :)
Great video chief, lol you no want an apprentice ?
Respect me boss. Rope in man!
@@TrevoirWilliams ahh me ready !
The UI part doesn't seem available any longer for Net6. Tried this in my minimal API and there's no reference for it any longer. Not sure where it went. :(
Scratch that, the main AspNetCore.HealthChecks.UI package didn't get installed. Had to install that separately for it to work.
Will this also work with ASP.NET Core 5?
It will indeed. Just adjust the startup code accordingly and you should be fine.