HealthCheckWithDependencies 1.0.0
See the version list below for details.
dotnet add package HealthCheckWithDependencies --version 1.0.0
NuGet\Install-Package HealthCheckWithDependencies -Version 1.0.0
<PackageReference Include="HealthCheckWithDependencies" Version="1.0.0" />
paket add HealthCheckWithDependencies --version 1.0.0
#r "nuget: HealthCheckWithDependencies, 1.0.0"
// Install HealthCheckWithDependencies as a Cake Addin
#addin nuget:?package=HealthCheckWithDependencies&version=1.0.0
// Install HealthCheckWithDependencies as a Cake Tool
#tool nuget:?package=HealthCheckWithDependencies&version=1.0.0
What is this package?
This package is a HealthCheck module that exposes a HealthCheck object containing the following information:
{
"ApplicationName": "API Externa do portal",
"ApplicationType": 10,
"BuildDate": "2017-12-27T13:32:43+00:00",
"MachineName": "RDPSC45772",
"OS": {
"Name": "xx",
"Version": 1.0
},
"Status": 10,
"Timestamp": "2018-01-15T10:21:22+00:00",
"Version": "1.0.1"
}
How to use it?
First you have to instantiate the HealthCheck class at your aplication startup and register your dependencies then you need to create and endpoint in your API that calls Check() method and returns the information serialized at your favorite format. Important information
It's extremely important to insert the "ApplicationType" in the appSettings tag of your App.config or web.config file in order to use this package.
Example:
<configuration>
<appSettings>
<add key="ApplicationType" value="10"/>
</appSettings>
</configuration>
These are the avaliable ApplicationType values:
- 10 WebService
- 20 QueueService
- 30 Database
- 99 Other
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Newtonsoft.Json (>= 11.0.2)
- RestSharp (>= 106.5.4)
- System.ValueTuple (>= 4.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Summary of changes made in this release of the package.