ArnabDeveloper.HttpHealthCheck 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package ArnabDeveloper.HttpHealthCheck --version 1.0.4                
NuGet\Install-Package ArnabDeveloper.HttpHealthCheck -Version 1.0.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="ArnabDeveloper.HttpHealthCheck" Version="1.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ArnabDeveloper.HttpHealthCheck --version 1.0.4                
#r "nuget: ArnabDeveloper.HttpHealthCheck, 1.0.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.
// Install ArnabDeveloper.HttpHealthCheck as a Cake Addin
#addin nuget:?package=ArnabDeveloper.HttpHealthCheck&version=1.0.4

// Install ArnabDeveloper.HttpHealthCheck as a Cake Tool
#tool nuget:?package=ArnabDeveloper.HttpHealthCheck&version=1.0.4                

HTTP health check

CI CD Nuget

This is a library to check health of HTTP endpoint. It has been hosted in NuGet. Use below command to install this in your .NET application.

dotnet add package ArnabDeveloper.HttpHealthCheck

Use any HTTP endpoint to check their health.

IHttpClientFactory httpClientFactory; // Use ASP.NET DI to build this
IHealthCheck healthCheck = new HealthCheck(httpClientFactory);
string urlToCheck = "<your http url>";
bool isApiHealthy = await _healthCheck.IsHealthyAsync(urlToCheck);
if (isApiHealthy)
{
    // URL is healthy
}
else
{
    // URL is unhealthy
}

There is a dashboard app which uses the library to check health of some http endpoints. This is to show how you can use this library in your app.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on ArnabDeveloper.HttpHealthCheck:

Package Downloads
Arc.HttpHealthCheckDashboard

HTTP health check dashboard

ArnabDeveloper.HttpHealthCheck.DI

HTTP health check dependency injection for ASP.NET

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 1,007 5/3/2022
1.0.9 907 4/1/2022
1.0.8 845 3/28/2022
1.0.6 740 11/28/2021
1.0.5 6,302 11/24/2021
1.0.4 504 11/22/2021
1.0.3 772 6/20/2021
1.0.2 798 6/10/2021
1.0.1 536 5/31/2021
1.0.0 429 5/7/2021

dotnet 6 upgrade