Open vgribok opened 4 years ago
@vgribok Could you please share your code for dynamic configuration?
Here's what I mean:
Got it. I will add a new feature. Thanks @vgribok
I have already started working on upgrading all LiteXHealthChecks to .NET Core 3.0. I will add factory support for all packages.
Current implementation of
AddPostgreSql()
andPostgreSqlHealthCheck()
caches connection string for the lifetime of the running application. This goes against the dynamic nature ofIConfiguration
that allows dynamic reloading and usage of configuration settings without having to restart the application.Please follow .NET Core Framework pattern for adding SQL Server health check for an example.