Dloizides.HealthChecks.Npgsql
1.0.0
dotnet add package Dloizides.HealthChecks.Npgsql --version 1.0.0
NuGet\Install-Package Dloizides.HealthChecks.Npgsql -Version 1.0.0
<PackageReference Include="Dloizides.HealthChecks.Npgsql" Version="1.0.0" />
<PackageVersion Include="Dloizides.HealthChecks.Npgsql" Version="1.0.0" />
<PackageReference Include="Dloizides.HealthChecks.Npgsql" />
paket add Dloizides.HealthChecks.Npgsql --version 1.0.0
#r "nuget: Dloizides.HealthChecks.Npgsql, 1.0.0"
#:package Dloizides.HealthChecks.Npgsql@1.0.0
#addin nuget:?package=Dloizides.HealthChecks.Npgsql&version=1.0.0
#tool nuget:?package=Dloizides.HealthChecks.Npgsql&version=1.0.0
Dloizides.HealthChecks.Npgsql
PostgreSQL readiness probe for ServiceDefaults.HealthChecks.
Split out of the core package at ServiceDefaults.HealthChecks 2.0.0: the core carries the
live/ready/start tags and MapHealthCheckEndpoints() with no third-party dependencies,
so a service with no database (the nine BFFs, for example) no longer resolves
AspNetCore.HealthChecks.NpgSql and Npgsql.
Install
dotnet add package Dloizides.HealthChecks.Npgsql
Use
The namespace matches the core package, so no using change is needed:
using ServiceDefaults.HealthChecks;
builder.AddHealthCheckDefaults(); // core
builder.AddPostgresReadinessCheckFromConfiguration("MyDb"); // this package
The check is tagged ready, so it is served by /health/ready and never by /health/live.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- AspNetCore.HealthChecks.NpgSql (>= 8.0.2)
- ServiceDefaults.HealthChecks (>= 2.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Dloizides.HealthChecks.Npgsql:
| Package | Downloads |
|---|---|
|
Dloizides.ServiceDefaults
Aspire-style service defaults for ASP.NET Core: OpenTelemetry (logging/metrics/tracing) wiring, HTTP resilience + service discovery, standard health-check registration (via ServiceDefaults.HealthChecks), and the platform endpoint map (anonymous /health/live|start|ready Kubernetes probes plus an ACME HTTP-01 no-op). Extracted from ~8 services that had each hand-copied the ServiceDefaults/Extensions.cs; normalizes the PostgressConnection connection-string typo by resolving both the correct (PostgresConnection) and legacy-typo keys. |
GitHub repositories
This package is not used by any popular GitHub repositories.