Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit edfce98

Browse files
author
Angelo Pirola
committed
Agiornata documentazione HealthChecks
1 parent b2814a0 commit edfce98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/NET6CustomLibrary/Docs/README-HealthChecks-MySQL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public IConfiguration Configuration { get; }
2525
public void ConfigureServices(IServiceCollection services)
2626
{
2727
var connectionString = Configuration.GetSection("ConnectionStrings").GetValue<string>("Default");
28-
services.AddMySqlHealthChecks(connectionString, "MySQL");
28+
services.AddMySqlHealthChecks(connectionString, "MySQL", false); //Use the True parameter if access is to be in AllowAnonymous mode
2929
}
3030

3131
//OMISSIS

src/NET6CustomLibrary/Docs/README-HealthChecks-Postgres.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public IConfiguration Configuration { get; }
2525
public void ConfigureServices(IServiceCollection services)
2626
{
2727
var connectionString = Configuration.GetSection("ConnectionStrings").GetValue<string>("Default");
28-
services.AddPostgresHealthChecks(connectionString, "Postgres");
28+
services.AddPostgresHealthChecks(connectionString, "Postgres", false); //Use the True parameter if access is to be in AllowAnonymous mode
2929
}
3030

3131
//OMISSIS

0 commit comments

Comments
 (0)