Fluens.Web.Healthchecks 0.9.2

dotnet add package Fluens.Web.Healthchecks --version 0.9.2
                    
NuGet\Install-Package Fluens.Web.Healthchecks -Version 0.9.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fluens.Web.Healthchecks" Version="0.9.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fluens.Web.Healthchecks" Version="0.9.2" />
                    
Directory.Packages.props
<PackageReference Include="Fluens.Web.Healthchecks" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fluens.Web.Healthchecks --version 0.9.2
                    
#r "nuget: Fluens.Web.Healthchecks, 0.9.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Fluens.Web.Healthchecks@0.9.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fluens.Web.Healthchecks&version=0.9.2
                    
Install as a Cake Addin
#tool nuget:?package=Fluens.Web.Healthchecks&version=0.9.2
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.2 55 10/21/2026
0.9.1 150 10/13/2026
0.9.0 82 10/13/2026
0.8.7 244 10/12/2026
0.8.6 97 10/12/2026
0.8.5 122 10/7/2026
0.8.4 72 10/6/2026
0.8.3 88 10/6/2026
0.8.2 155 10/5/2026
0.8.1 167 9/15/2026
0.8.0 100 9/15/2026
0.7.11 103 9/15/2026
0.7.10 104 9/13/2026
0.7.9 107 9/11/2026
0.7.8 103 9/10/2026
0.7.7 117 9/10/2026
0.7.6 171 7/1/2026
0.7.5 138 6/22/2026
0.7.4 149 6/18/2026
0.7.2 131 6/18/2026
Loading failed