doc: appsettings.Development.json 增加 DB 小节配置

This commit is contained in:
Argo Zhang 2019-08-30 16:59:39 +08:00
parent a53233e930
commit 2e923257cc
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 34 additions and 0 deletions

View File

@ -16,6 +16,40 @@
}
},
"SwaggerPathBase": "",
"DB": [
{
"Enabled": false
},
{
"Enabled": true,
"ProviderName": "Sqlite",
"ConnectionStrings": {
"ba": "Data Source=BootstrapAdmin.db;"
}
},
{
"Enabled": false,
"ProviderName": "MySql",
"ConnectionStrings": {
"ba": "Server=localhost;Database=BA;Uid=argozhang;Pwd=argo@163.com;SslMode=none;"
}
},
{
"Enabled": false,
"ProviderName": "Npgsql",
"ConnectionStrings": {
"ba": "Server=localhost;Database=BootstrapAdmin;User ID=argozhang;Password=argo@163.com;"
}
},
{
"Enabled": false,
"Widget": "Bootstrap.DataAccess.MongoDB",
"ProviderName": "MongoDB",
"ConnectionStrings": {
"ba": "mongodb://localhost:27017;Database=BootstrapAdmin"
}
}
],
"AllowOrigins": "http://localhost:49185",
"LongbowCache": {
"Enabled": true,