health-checks

Configure ASP.NET Core health check endpoints for Kubernetes and monitoring dashboards.

4|1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/FaysilAlshareef/dotnet-ai-kit --skill health-checks-faysilalshareef
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: health-checks
Source: https://github.com/FaysilAlshareef/dotnet-ai-kit/tree/main/skills/observability/health-checks
Command: npx skills add https://github.com/FaysilAlshareef/dotnet-ai-kit --skill health-checks-faysilalshareef

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use when adding health check endpoints, Kubernetes probes, or health check UI.

Core Features & Use Cases

  • Health check registration with AddHealthChecks()
  • Endpoint mapping for /health/live, /health/ready, /health
  • Detailed JSON response writer for dashboards
  • Optional Health Checks UI integration

Quick Start

Configure health checks in Program.cs to expose /health/live, /health/ready, and /health endpoints.

Frequently Asked Questions about health-checks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure ASP.NET Core health checks for Kubernetes liveness and readiness probes?

To configure ASP.NET Core health checks for Kubernetes, you register checks with AddHealthChecks() and map separate endpoints for /health/live and /health/ready, allowing the cluster to route traffic based on application and dependency readiness.

What is the difference between liveness and readiness probes in a Kubernetes health check setup?

Liveness probes verify the application is running without checking dependencies, while readiness probes confirm dependent services like databases and caches are available before Kubernetes routes traffic to the pod.

How do I expose detailed JSON health check responses for monitoring dashboards?

You expose detailed JSON health check responses for monitoring dashboards by implementing a custom response writer in your endpoint configuration, detailing the status of each registered dependency.

Can I add a health checks UI to my ASP.NET Core application?

Yes, you can integrate an optional Health Checks UI into your ASP.NET Core application to visualize endpoint statuses, providing a dedicated dashboard for observing service reliability.

Does this health check configuration work with external HTTP services and databases?

Yes, the health check configuration applies to wiring health endpoints across services with dependencies such as databases, caches, and external HTTP services for production-grade reliability.