Blog.Core/Blog.Core.Tests/appsettings.json
2019-10-02 22:27:15 +08:00

65 lines
1.7 KiB
JSON

{
"Logging": {
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Warning"
}
},
"Console": {
"LogLevel": {
"Default": "Warning"
}
},
"Log4Net": {
"Name": "Blog.Core"
}
},
"AllowedHosts": "*",
"AppSettings": {
"Middleware_RequestResponse": {
"Enabled": true
},
"RedisCachingAOP": {
"Enabled": false,
"ConnectionString": "127.0.0.1:6319"
},
"MemoryCachingAOP": {
"Enabled": true
},
"LogAOP": {
"Enabled": false
},
"SqlAOP": {
"Enabled": false
},
"Sqlite": {
"Enabled": true,
"SqliteConnection": "Data Source=WMBlog.db"
},
"SqlServer": {
"Enabled": false,
"SqlServerConnection": "Server=.;Database=WMBlogDB;User ID=sa;Password=123;",
"ProviderName": "System.Data.SqlClient"
},
"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)))"
},
"Date": "2018-08-28",
"SeedDBEnabled": true, //这里仅仅是生成数据库表结构
"SeedDBDataEnabled": false, //这里把数据也生成了
"Author": "Blog.Core"
},
"Audience": {
"Secret": "sdfsdfsrty45634kkhllghtdgdfss345t678fs", //不要太短,请注意!!!16+
"Issuer": "Blog.Core",
"Audience": "wr"
}
}