Fluens.Web.Healthchecks
0.9.4
dotnet add package Fluens.Web.Healthchecks --version 0.9.4
NuGet\Install-Package Fluens.Web.Healthchecks -Version 0.9.4
<PackageReference Include="Fluens.Web.Healthchecks" Version="0.9.4" />
<PackageVersion Include="Fluens.Web.Healthchecks" Version="0.9.4" />
<PackageReference Include="Fluens.Web.Healthchecks" />
paket add Fluens.Web.Healthchecks --version 0.9.4
#r "nuget: Fluens.Web.Healthchecks, 0.9.4"
#:package Fluens.Web.Healthchecks@0.9.4
#addin nuget:?package=Fluens.Web.Healthchecks&version=0.9.4
#tool nuget:?package=Fluens.Web.Healthchecks&version=0.9.4
Fluens.Web.Healthchecks
ASP.NET Core health-checks registration helpers with a configurable, DI-discoverable health-endpoint path for Fluens web applications.
Installation
dotnet add package Fluens.Web.Healthchecks
Usage
builder.AddFluens()
.AddWeb()
.AddHealthchecks(opts =>
{
opts.Path = "/healthz";
});
var app = builder.Build();
app.MapFluensHealthchecks();
AddHealthchecks() registers ASP.NET Core health checks and publishes the configured
path through IHealthEndpointInfo (from Fluens.Web), so other libraries — for example
service discovery — can read the health path from DI without depending on this package.
AddHealthchecks()'s Action<HealthchecksOptions>? callback is honoured and validated even with no
matching Fluens:Web:Healthchecks configuration section present.
Configuration section: Fluens:Web:Healthchecks:
{
"Fluens": {
"Web": {
"Healthchecks": {
"Enabled": true,
"Path": "/health"
}
}
}
}
When Enabled is false, AddHealthchecks() registers nothing and
MapFluensHealthchecks() maps nothing.
MapFluensHealthchecks() maps the endpoint with a fixed status code table:
HealthStatus |
HTTP status |
|---|---|
Healthy |
200 |
Degraded |
429 |
Unhealthy |
503 |
Consul reads an HTTP check answering 429 as warning (200 as passing, any other status as
critical), so a Degraded instance shows up as a warning in the catalog instead of passing.
License
This project is licensed under the MIT License.
| 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
- Fluens.Web (>= 0.9.4)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.13)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.13)
- Scrutor (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.4 | 257 | 11/30/2026 |
| 0.9.3 | 353 | 11/17/2026 |
| 0.9.2 | 172 | 10/21/2026 |
| 0.9.1 | 486 | 10/13/2026 |
| 0.9.0 | 108 | 10/13/2026 |
| 0.8.7 | 265 | 10/12/2026 |
| 0.8.6 | 119 | 10/12/2026 |
| 0.8.5 | 143 | 10/7/2026 |
| 0.8.4 | 90 | 10/6/2026 |
| 0.8.3 | 106 | 10/6/2026 |
| 0.8.2 | 175 | 10/5/2026 |
| 0.8.1 | 184 | 9/15/2026 |
| 0.8.0 | 118 | 9/15/2026 |
| 0.7.11 | 123 | 9/15/2026 |
| 0.7.10 | 123 | 9/13/2026 |
| 0.7.9 | 124 | 9/11/2026 |
| 0.7.8 | 122 | 9/10/2026 |
| 0.7.7 | 149 | 9/10/2026 |
| 0.7.6 | 186 | 7/1/2026 |
| 0.7.5 | 154 | 6/22/2026 |