Blog.Core/Blog.Core.Tests/appsettings.json

66 lines
1.7 KiB
JSON
Raw Normal View History

{
2019-04-08 15:54:01 +08:00
"Logging": {
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Warning"
}
},
"Console": {
"LogLevel": {
"Default": "Warning"
}
},
"Log4Net": {
"Name": "Blog.Core"
2019-04-08 15:54:01 +08:00
}
},
"AllowedHosts": "*",
"AppSettings": {
"Middleware_RequestResponse": {
"Enabled": true
},
"RedisCachingAOP": {
2019-04-08 15:54:01 +08:00
"Enabled": false,
"ConnectionString": "127.0.0.1:6319"
},
"MemoryCachingAOP": {
"Enabled": true
},
"LogAOP": {
"Enabled": false
},
"SqlAOP": {
2019-04-08 15:54:01 +08:00
"Enabled": false
},
"Sqlite": {
"Enabled": true,
"SqliteConnection": "Data Source=WMBlog.db"
},
2019-04-08 15:54:01 +08:00
"SqlServer": {
2019-04-16 19:08:45 +08:00
"Enabled": false,
"SqlServerConnection": "Server=.;Database=WMBlogDB;User ID=sa;Password=123;",
2019-04-08 15:54:01 +08:00
"ProviderName": "System.Data.SqlClient"
},
2019-04-16 19:08:45 +08:00
"MySql": {
"Enabled": true,
"MySqlConnection": "Server=localhost; Port=3306;Stmt=; Database=wmblogdb; Uid=root; Pwd=456;"
},
"Oracle": {
"Enabled": false,
"OracleConnection": "Provider=OraOLEDB.Oracle; Data Source=WMBlogDB; User Id=sss; Password=789;",
"OracleConnection_other1": "User ID=sss;Password=789;Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.8.65)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME = orcl)))"
},
2019-04-08 15:54:01 +08:00
"Date": "2018-08-28",
"SeedDBEnabled": true, //这里仅仅是生成数据库表结构
"SeedDBDataEnabled": false, //这里把数据也生成了
2019-04-08 15:54:01 +08:00
"Author": "Blog.Core"
},
"Audience": {
"Secret": "sdfsdfsrty45634kkhllghtdgdfss345t678fs", //不要太短,请注意!!!16+
"SecretFile": "C:\\my-file\\blog.core.audience.secret.txt",
2019-04-08 15:54:01 +08:00
"Issuer": "Blog.Core",
"Audience": "wr"
}
}