BetterHealthChecks.Core 5.0.0

dotnet add package BetterHealthChecks.Core --version 5.0.0                
NuGet\Install-Package BetterHealthChecks.Core -Version 5.0.0                
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="BetterHealthChecks.Core" Version="5.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BetterHealthChecks.Core --version 5.0.0                
#r "nuget: BetterHealthChecks.Core, 5.0.0"                
#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.
// Install BetterHealthChecks.Core as a Cake Addin
#addin nuget:?package=BetterHealthChecks.Core&version=5.0.0

// Install BetterHealthChecks.Core as a Cake Tool
#tool nuget:?package=BetterHealthChecks.Core&version=5.0.0                
builder.Services
    .AddBetterHealthChecks(x =>
    {
        x.Add(new KafkaHealthCheck(new KafkaConfig("localhost:9092"), "Kafka-Local"));
        x.Add(new HttpHealthCheck("Google", new HttpConfig("https://google.com", HttpMethod.Get, TimeSpan.FromSeconds(300)), false));
        x.Add(new PostgresHealthCheck("Server=localhost;Port=5434;Database=database;User Id=postgres;Password=pwd;Pooling=true;Minimum Pool Size=0;Maximum Pool Size=100;", TimeSpan.FromSeconds(10), null ));
        x.Add(new IgniteHealthCheck("Ignite-Local", "localhost:10800"));
        return x;
    });
    
    
 app.UseEndpoints(x => x.MapBetterHealthChecks("/health"));
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on BetterHealthChecks.Core:

Package Downloads
BetterHealthChecks.Ignite

Ignite better healthchecks

BetterHealthChecks.Kafka

Kafka better healthchecks

BetterHealthChecks.PostgreSQL

Postgres better healthchecks

BetterHealthChecks.Http

HTTP better healthchecks

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.0 694 11/30/2022