Open biapar opened 3 years ago
Is the DB file actually ever used? Can't see that HealthCheckDatabaseConnectionString is ever used (but still cause an error if left remaining in the appsettings.json, so maybe its some indirect loading).
The HealthCheckDatabaseConnectionString was the original.
Yes, but it does not seem to be used in the original code?
Edit:
Seems like the DB is created on startup if it does not exist using the HealthCheckDatabaseConnectionString, if not present in appsettings, default name will be used. Probably nothing specific for this project though.
If you upgrade HealthCheck to 3.1.3
you have to change the class class RegisterHealthChecks : IServiceRegistration
string DbConnectionString = config.GetConnectionString("HealthCheckDatabaseConnectionString"); services.AddHealthChecksUI().AddInMemoryStorage(); //.AddSqliteStorage(DbConnectionString);