Created
May 22, 2017 02:28
-
-
Save scottsauber/7a58c9234e1cd2828ee8881dd470cfc7 to your computer and use it in GitHub Desktop.
Health Check Startup.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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