Skip to content

Instantly share code, notes, and snippets.

@scottsauber
Created May 22, 2017 02:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottsauber/7a58c9234e1cd2828ee8881dd470cfc7 to your computer and use it in GitHub Desktop.
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