Skip to content

yesmarket/HealthCheckHostedService

Repository files navigation

HealthCheckHostedService

As a fallback option for scenarios where Kestrel or ASP.NET Core hosting is unsuitable, an HttpListener based health-check server implementation is also available.

var healthCheckServer = new HealthCheckServer(port: 1234, provider.GetService<HealthCheckService>());
healthCheckServer.Start();

The default configuration will expose health-check endpoint at /health.

About

A HttpListener based health-check server for scenarios where Kestrel or ASP.NET Core hosting is unsuitable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages