health-checks

Configure liveness and readiness health checks for .NET 8+ applications.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/spallempati/AI-Studio --skill health-checks-spallempati
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: health-checks
Source: https://github.com/spallempati/AI-Studio/tree/main/skills/dotnet-infrastructure/health-checks
Command: npx skills add https://github.com/spallempati/AI-Studio --skill health-checks-spallempati

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of configuring and implementing comprehensive health checks for applications, ensuring reliability and smooth operation within containerized environments.

Core Features & Use Cases

  • Liveness & Readiness Probes: Define endpoints to check if the application is running and ready to serve traffic.
  • Dependency Monitoring: Configure checks for databases (PostgreSQL), external services, and message brokers (RabbitMQ).
  • Custom Business Logic Checks: Implement application-specific validation for critical processes like database migrations.
  • Use Case: Ensure your .NET 8+ microservice reliably reports its status to Kubernetes, preventing traffic from being routed to unhealthy instances.

Quick Start

Register health checks for PostgreSQL, an authentication service, and database migrations in your ASP.NET Core application.

Frequently Asked Questions about health-checks

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

FAQPage Schema
How do I configure Kubernetes liveness and readiness probes in a .NET 8 application?

To configure Kubernetes liveness and readiness probes in a .NET 8 application, you define specific health check endpoints that report whether the application is running and ready to serve traffic.

What is the difference between liveness and readiness probes for containerized .NET applications?

Liveness probes check if the application is running, while readiness probes verify if it is ready to serve traffic. Both are essential for container orchestration platforms like Kubernetes to manage routing correctly.

Can I monitor PostgreSQL and RabbitMQ dependencies using ASP.NET Core health checks?

Yes, you can monitor PostgreSQL connectivity and message brokers like RabbitMQ by integrating AspNetCore.HealthChecks libraries to report dependency availability.

How do I add custom business logic checks to .NET application health monitoring?

You can implement application-specific validation logic, such as checking database migrations, to ensure critical processes are functioning before Kubernetes routes traffic to the instance.

What's the best way to prevent Kubernetes from routing traffic to unhealthy .NET microservices?

The best way to prevent routing traffic to unhealthy .NET microservices is by configuring comprehensive health checks that report application status, dependency connectivity, and custom logic readiness.

Do I need AspNetCore.HealthChecks libraries to set up health monitoring in .NET 8?

Yes, the Skill integrates with AspNetCore.HealthChecks libraries to provide robust monitoring, configuring checks for database connectivity, external services, and custom application logic.