Enigmatry.Entry.HealthChecks 9.1.1-preview.4

This is a prerelease version of Enigmatry.Entry.HealthChecks.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Enigmatry.Entry.HealthChecks --version 9.1.1-preview.4
                    
NuGet\Install-Package Enigmatry.Entry.HealthChecks -Version 9.1.1-preview.4
                    
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="Enigmatry.Entry.HealthChecks" Version="9.1.1-preview.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Enigmatry.Entry.HealthChecks" Version="9.1.1-preview.4" />
                    
Directory.Packages.props
<PackageReference Include="Enigmatry.Entry.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 Enigmatry.Entry.HealthChecks --version 9.1.1-preview.4
                    
#r "nuget: Enigmatry.Entry.HealthChecks, 9.1.1-preview.4"
                    
#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 Enigmatry.Entry.HealthChecks@9.1.1-preview.4
                    
#: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=Enigmatry.Entry.HealthChecks&version=9.1.1-preview.4&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Enigmatry.Entry.HealthChecks&version=9.1.1-preview.4&prerelease
                    
Install as a Cake Tool

Health Checks Building Block

Building Block for using the ASP.Net Health Checks

Registration

You can use the AppAddHealthChecks extension method on IServiceCollection to add a HealthChecksService to th IoC container. This returns a HealthChecksBuilder, which can be used to configure the health checks :

 public void ConfigureServices(IServiceCollection services)
    {
        ...
        services.AppAddHealthChecks(configuration)
            .AddDbContextCheck<YessaBaseContext>()
            .AddDiskStorageHealthCheck
                // etc
    }

Next, you also need to call the AppMapHealthCheck method to register the health checks endpoint, providing an instance of the configuration object.

        app.UseEndpoints(endpoints =>
        {
            endpoints.MapDefaultControllerRoute();
            endpoints.AppMapHealthCheck(_configuration);
        });

Configuration

Example:

  "App": {
    
      "HealthChecks": {
        "MaximumAllowedMemoryInMB": "200",
        "TokenAuthorizationEnabled": true,
        "RequiredToken": "__healthChecksToken__"
      }
    },
  • The token (if enabled) needs to be a random string, like a GUID. This then needs to be sent as a query parameter with any request, to be authorized: healthcheckurl?token=[token]. This can be used to setup Application Insights availability monitoring.
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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
9.3.1-preview.1 235 11/25/2025
9.3.0 338 11/10/2025
9.2.0 1,030 9/24/2025
9.1.1-preview.5 191 8/8/2025
9.1.1-preview.4 105 6/27/2025
9.1.1-preview.3 153 6/4/2025
9.1.0 1,130 6/3/2025
9.0.1-preview.8 145 5/26/2025
9.0.1-preview.7 224 5/13/2025
9.0.1-preview.6 382 5/9/2025
9.0.1-preview.5 164 5/7/2025
9.0.1-preview.4 139 4/30/2025
9.0.1-preview.2 143 4/1/2025
9.0.0 1,507 2/26/2025
8.2.0 592 9/24/2025
8.1.1-preview.3 139 5/7/2025
8.1.1-preview.1 153 4/1/2025
8.1.0 1,499 2/19/2025
8.0.1-preview.4 83 2/7/2025
8.0.1-preview.2 86 1/15/2025
8.0.0 1,573 11/27/2024
3.4.6-preview.10 85 11/27/2024
3.4.3 2,107 10/22/2024
3.4.2 783 10/11/2024
3.4.1 176 10/9/2024
3.4.0 160 10/9/2024
3.3.2 539 8/28/2024
3.3.2-preview.7 115 8/27/2024
3.3.1 480 7/16/2024
3.3.1-preview.4 93 7/12/2024
3.3.0 1,189 6/20/2024
3.2.1-preview.4 82 6/17/2024
3.2.1-preview.1 88 5/23/2024
3.2.0 4,282 4/3/2024
3.1.1-preview.1 1,050 3/13/2024
3.1.0 380 3/8/2024
3.1.0-preview.2 445 2/19/2024
3.0.1-preview.2 945 2/9/2024
3.0.1-preview.1 110 1/24/2024
3.0.0 1,130 1/15/2024
3.0.0-preview.14 143 1/9/2024
3.0.0-preview.12 104 1/9/2024
3.0.0-preview.5 98 1/10/2024
3.0.0-preview.2 161 12/28/2023
3.0.0-preview 168 12/20/2023
2.1.0 223 12/28/2023
2.0.1-preview.3 134 12/1/2023
2.0.1-preview.2 102 11/29/2023
2.0.1-preview.1 101 11/28/2023
2.0.0 350 11/8/2023
2.0.0-preview.3 307 10/27/2023
2.0.0-preview.2 103 10/27/2023
2.0.0-preview.1 106 10/27/2023
2.0.0-preview 168 10/27/2023
1.1.500 168 10/27/2023
1.1.495 226 9/24/2023
1.1.486 472 9/13/2023
1.1.484 271 9/7/2023
1.1.482 205 9/6/2023
1.1.480 220 8/24/2023
1.1.477 450 8/2/2023
1.1.464 283 7/5/2023
1.1.447 735 5/26/2023
1.1.396 361 4/11/2023
1.1.383 348 4/3/2023
1.1.377 320 3/13/2023
1.1.376 284 3/13/2023
1.1.365 956 2/15/2023