ASP.NET API Health Check - How to make sure your APIs are up and running

Sdílet
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

Komentáře • 28

  • @TrevoirWilliams
    @TrevoirWilliams  Před 2 lety

    Full Playlist: czcams.com/play/PLUl9BcvgsrKYa9mUygO9lIGow-1GaNWqs.html
    Full Udemy Course: www.udemy.com/course/ultimate-aspnet-5-web-api-development-guide/?referralCode=354D04A638A9196767B3

  • @StarryBTV
    @StarryBTV Před 5 měsíci +1

    Great tutorial Trev! 💯

  • @theincredibleillmo9385
    @theincredibleillmo9385 Před 2 lety +1

    Thank you very much. You helped me a lot with the same issue using the UI library.
    Much love from Mexico!

  • @jamaicantillidie6626
    @jamaicantillidie6626 Před rokem +1

    Thank you, I upgraded to Net 6 which broke my health checks, this got me back on track. Nuff Respect

  • @gauravpanchal1138
    @gauravpanchal1138 Před 2 lety +1

    Thank you for the great video.

  • @christianpiccinini5759
    @christianpiccinini5759 Před 2 lety +1

    Great video!!

  • @YaSiRaRaFaTdoTNet
    @YaSiRaRaFaTdoTNet Před 2 lety +1

    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?

  • @andreibicu5592
    @andreibicu5592 Před rokem

    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 ?

  • @hozaifamohammed5007
    @hozaifamohammed5007 Před rokem +1

    thanks bro

  • @Mo-ef9yt
    @Mo-ef9yt Před 2 lety +1

    Hi Trevoir
    Thanks for your videos, they are excellent 👍🏿

    • @TrevoirWilliams
      @TrevoirWilliams  Před 2 lety +1

      Thank you for the support brother

    • @Mo-ef9yt
      @Mo-ef9yt Před 2 lety +1

      @@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?

    • @TrevoirWilliams
      @TrevoirWilliams  Před 2 lety +1

      you can shoot me an email with any requests for sure.

    • @Mo-ef9yt
      @Mo-ef9yt Před 2 lety

      @@TrevoirWilliams
      Ok thanks a lot :)

  • @areidtech
    @areidtech Před 2 lety +2

    Great video chief, lol you no want an apprentice ?

  • @dasfahrer8187
    @dasfahrer8187 Před rokem +1

    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. :(

    • @dasfahrer8187
      @dasfahrer8187 Před rokem +1

      Scratch that, the main AspNetCore.HealthChecks.UI package didn't get installed. Had to install that separately for it to work.

  • @adeni4359
    @adeni4359 Před 2 lety +1

    Will this also work with ASP.NET Core 5?

    • @TrevoirWilliams
      @TrevoirWilliams  Před 2 lety

      It will indeed. Just adjust the startup code accordingly and you should be fine.