Doxense / foundationdb-dotnet-client

C#/.NET Binding for FoundationDB Client API
BSD 3-Clause "New" or "Revised" License
149 stars 33 forks source link

Add a dedicated Health Check assembly and/or NuGet package #122

Open KrzysFR opened 1 year ago

KrzysFR commented 1 year ago

Looking at https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/health-checks?view=aspnetcore-7.0#distribute-a-health-check-library it is possible to write a health check for ASP.NET Core that comes as a library.

We should add a FoundationDBHealthCheck class that implements IHealthCheck.

This class could either be redistributed via its own assembly/package, OR could be part of the already existing FoundationDB.Client.DependencyInjection assembly ?

KrzysFR commented 11 months ago

The health check is included as part of the Aspire component work, see #127