You configure the database connection in the configuration text file appsettings.json.
Extract from the JSON file:
"ConnectionStrings": {
"Main": "Server=<db-host>;Database=<db-name-main-database>;User=<db-username>;Password=<db-password>;MultipleActiveResultSets=True;Enlist=True;",
"Comm": "Server=<db-host>;Database=<db-name-comm-database>;User=<db-username>;Password=<db-password>;MultipleActiveResultSets=True;Enlist=True;"
},
Meaning of parameters
|
Parameter |
Meaning |
|---|---|
|
db-host |
Server address of the MS SQL server |
|
db-name-main-database |
Database name of the main database |
|
db-name-comm-database |
Database name of the comm database |
|
db-username |
SQL user name for access to the database |
|
db-password |
SQL user password for access to the database |