Created
June 8, 2020 13:18
-
-
Save Odonno/dc7291cbbf6ac57a41e0c94a12a0976f to your computer and use it in GitHub Desktop.
.NET Core Azure Templates - HealthChecks
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
services.AddHealthChecks() | |
.AddUrlGroup(new Uri("https://login.microsoftonline.com"), "azure ad") | |
.AddUrlGroup(new Uri("https://graph.microsoft.com"), "graph api") | |
.AddSignalRHub(() => CreateSignalrHubConnection(healthCheckConfig["SignalR:Values"]), "signalr hub - values"); | |
services.AddHealthChecksUI(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment