2019-10-21 12:02:14 +08:00
|
|
|
|
{
|
2019-04-08 15:54:01 +08:00
|
|
|
|
"Logging": {
|
|
|
|
|
"IncludeScopes": false,
|
|
|
|
|
"Debug": {
|
|
|
|
|
"LogLevel": {
|
|
|
|
|
"Default": "Warning"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"Console": {
|
|
|
|
|
"LogLevel": {
|
|
|
|
|
"Default": "Warning"
|
|
|
|
|
}
|
2019-10-02 22:27:15 +08:00
|
|
|
|
},
|
|
|
|
|
"Log4Net": {
|
|
|
|
|
"Name": "Blog.Core"
|
2019-04-08 15:54:01 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"AllowedHosts": "*",
|
|
|
|
|
"AppSettings": {
|
2019-10-02 22:27:15 +08:00
|
|
|
|
"Middleware_RequestResponse": {
|
|
|
|
|
"Enabled": true
|
|
|
|
|
},
|
|
|
|
|
"RedisCachingAOP": {
|
2019-04-08 15:54:01 +08:00
|
|
|
|
"Enabled": false,
|
|
|
|
|
"ConnectionString": "127.0.0.1:6319"
|
|
|
|
|
},
|
|
|
|
|
"MemoryCachingAOP": {
|
|
|
|
|
"Enabled": true
|
|
|
|
|
},
|
2019-10-02 22:27:15 +08:00
|
|
|
|
"LogAOP": {
|
|
|
|
|
"Enabled": false
|
|
|
|
|
},
|
|
|
|
|
"SqlAOP": {
|
2019-04-08 15:54:01 +08:00
|
|
|
|
"Enabled": false
|
|
|
|
|
},
|
2019-10-02 22:27:15 +08:00
|
|
|
|
"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;"
|
|
|
|
|
},
|
2019-10-02 22:27:15 +08:00
|
|
|
|
"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",
|
2019-10-21 12:02:14 +08:00
|
|
|
|
"SeedDBEnabled": true, //这里仅仅是生成数据库表结构
|
|
|
|
|
"SeedDBDataEnabled": false, //这里把数据也生成了
|
2019-04-08 15:54:01 +08:00
|
|
|
|
"Author": "Blog.Core"
|
|
|
|
|
},
|
|
|
|
|
"Audience": {
|
2019-10-21 12:02:14 +08:00
|
|
|
|
"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"
|
|
|
|
|
}
|
|
|
|
|
}
|