© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
47 replies
Mayor McCheese

✅ Supporting multiple routes for health checks in asp.net core

I have a couple monitoring systems that need are calling some api's and I need to support different response types for each monitoring system. Is there a way in asp.net core? Assume I have a number of health probes, for example...

.AddHealthCheck<Db2HealthCheck>()
.AddHealthCheck<SqlHealthCheck>()
.AddHealthCheck<DynamoHealthCheck>()
.AddHealthCheck<CognitoHealthCheck>()
.AddHealthCheck<YadaYadaYada>()

The yadayadayada monitor should only check the YadaYadaYada health check, for example
The Aws monitor should only check the CognitoHealthCheck
The database monitor should oinly check Db2, Dynamo, and SqlHealthCheck
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Database In ASP.Net Core
C#CC# / help
14mo ago
❔ ASP.NET to .net Core
C#CC# / help
3y ago
ASP.NET CORE MVC VS ASP.NET CORE WEB API
C#CC# / help
17mo ago