2019-05-12 14:28:56 +08:00
|
|
|
{
|
2019-05-18 21:21:03 +08:00
|
|
|
"Logging": {
|
|
|
|
"LogLevel": {
|
|
|
|
"Default": "Error",
|
|
|
|
"System": "Error",
|
2019-06-01 16:57:33 +08:00
|
|
|
"Microsoft": "Error",
|
|
|
|
"Longbow.Logging.FileLogger": "None",
|
|
|
|
"Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware": "None"
|
2019-05-18 21:21:03 +08:00
|
|
|
}
|
|
|
|
},
|
2019-05-12 14:28:56 +08:00
|
|
|
"ConnectionStrings": {
|
2019-05-18 21:21:03 +08:00
|
|
|
"ba": "Data Source=.;Initial Catalog=UnitTest;User ID=sa;Password=sa"
|
|
|
|
},
|
|
|
|
"DB": [
|
|
|
|
{
|
|
|
|
"Enabled": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"ProviderName": "Sqlite",
|
|
|
|
"ConnectionStrings": {
|
|
|
|
"ba": "Data Source=UnitTest.db;"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"ProviderName": "MySql",
|
|
|
|
"ConnectionStrings": {
|
|
|
|
"ba": "Server=localhost;Database=UnitTest;Uid=argozhang;Pwd=argo@163.com;SslMode=none;"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"ProviderName": "Npgsql",
|
|
|
|
"ConnectionStrings": {
|
|
|
|
"ba": "Server=localhost;Database=UnitTest;User ID=argozhang;Password=argo@163.com;"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Widget": "Bootstrap.DataAccess.MongoDB",
|
|
|
|
"ConnectionStrings": {
|
|
|
|
"ba": "mongodb://localhost:27017"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"MongoDB": "UnitTest",
|
|
|
|
"LongbowCache": {
|
|
|
|
"Enabled": false
|
2019-05-12 14:28:56 +08:00
|
|
|
}
|
|
|
|
}
|