Skip to content

Instantly share code, notes, and snippets.

@scottsauber
Created May 22, 2017 02:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save scottsauber/7a58c9234e1cd2828ee8881dd470cfc7 to your computer and use it in GitHub Desktop.
Health Check Startup.cs
public void ConfigureServices(IServiceCollection services)
{
// Creates a HealthCheckBuilder and registers an IHealthCheckService in the IServiceCollection/IoC Container
services.AddHealthChecks(checks =>
{
// Register health checks here
});
services.AddMvc();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment