A workflow sample what is made with ASP.NET Core, Blazor Server, etc.
I use PostgreSQL.
The connection string is written in "appsettings.Development.json" and "appsettings.Production.json" like below.
"DbConnection": "Host=localhost;Port=5432;Database={DATABASE NAME};Username=postgres;Password={PASSWORD}"