MongoDB.HealthCheck Support .NET Core 3.1s health check function by pinging the server or replica set See sample project for wireup guidance