DotNetDiag HealthChecks

Health checks for every .NET service

Liveness and readiness probes for 50+ databases, queues, cloud services, and HTTP dependencies, with an optional dashboard UI and a Kubernetes operator.

A community-maintained continuation of Xabaril/AspNetCore.Diagnostics.HealthChecks. That project, shepherded by Xabaril and its many contributors, shaped the modern .NET health-check ecosystem. With upstream maintenance paused, DotNetDiag carries the work forward, with deep thanks to every original author whose code and APIs this fork continues.

60-second quickstart

Install a provider package:

dotnet add package DotNetDiag.HealthChecks.SqlServer

Register the check and map the endpoint in Program.cs:

builder.Services.AddHealthChecks()
    .AddSqlServer(builder.Configuration.GetConnectionString("Default"));

app.MapHealthChecks("/health");

That's it. GET /health now returns Healthy or Unhealthy. Add the UI, more providers, or Kubernetes probes from the paths below.

Pick your path

Three ways to roll out

Most teams start with the minimal service and layer on the UI or Kubernetes pieces as the rollout grows.

Popular checks

Common integrations

Hand-picked starting points. The full catalog has 50+ packages.

Keep going

Deeper references