add db connection

This commit is contained in:
Aurelien Rebourg 2021-03-01 16:51:18 +00:00
parent 083afac1d4
commit 87c37d2785
2 changed files with 15 additions and 1 deletions

3
.gitignore vendored
View File

@ -8,4 +8,5 @@ obj
*.db *.db
*appsettings.JSON *appsettings.JSON
wwwroot wwwroot
publish publish
.idea/

13
appsettings.json Normal file
View File

@ -0,0 +1,13 @@
{
"ConnectionStrings": {
"DefaultConnection": "Server=eu-cdbr-west-03.cleardb.net; Database=heroku_bfe332e453d28d6; Uid=b096f4ec5002cd; Pwd=b9b96080"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}