HealthCheckWithDependencies 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package HealthCheckWithDependencies --version 1.0.0
NuGet\Install-Package HealthCheckWithDependencies -Version 1.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="HealthCheckWithDependencies" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HealthCheckWithDependencies --version 1.0.0
#r "nuget: HealthCheckWithDependencies, 1.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 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 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. 
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
6.2.1 1,176 11/27/2018
6.1.1 1,415 11/27/2018
6.1.0-beta 545 11/27/2018
6.0.0 716 11/23/2018
5.0.0 675 11/23/2018
4.0.0 727 11/12/2018
2.0.0 747 10/31/2018
1.0.0 664 10/31/2018

Summary of changes made in this release of the package.