Skip to content

Arnab-Developer/ArnabDeveloper.HttpHealthCheck.DI

Repository files navigation

HTTP health check DI

This is a library for HTTP health check dependency injection for ASP.NET. It has been hosted in NuGet. Use below command to install this in your .NET application.

dotnet add package ArnabDeveloper.HttpHealthCheck.DI

Use the below code in Program.cs to add HTTP health check into ASP.NET DI.

WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
builder.Services.AddHttpHealthCheck();

There is a dashboard app which uses the library to check health of some http endpoints. This is to show how you can use this library in your app.