Skip to content

Instantly share code, notes, and snippets.

@smling
Created February 26, 2022 22:57
Show Gist options
  • Save smling/21ca189f60c87e146b9208776ee90d08 to your computer and use it in GitHub Desktop.
Save smling/21ca189f60c87e146b9208776ee90d08 to your computer and use it in GitHub Desktop.
Add health check in service.
public void ConfigureServices(IServiceCollection services)
{
// Add heath check.
services.AddHealthChecks();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment