BootstrapAdmin11/Bootstrap.Client/appsettings.json

76 lines
1.9 KiB
JSON

{
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
},
"LgbFile": {
"IncludeScopes": true,
"LogLevel": {
"Default": "Error"
},
"FileName": "Error\\Log.log"
}
},
"ConnectionStrings": {
"sql": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa",
"ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"
},
"AppId": 2,
"AuthHost": "http://localhost:50852",
"AllowOrigins": "http://localhost,http://10.15.63.218",
"KeyPath": "D:\\App\\Web-App\\keys",
"ApplicationName": "__bd__",
"ApplicationDiscriminator": "BootstrapAdmin",
"DisableAutomaticKeyGeneration": true,
"LongbowCache": {
"Enabled": true,
"CorsItems": [
{
"Enabled": true,
"Name": "AppName",
"Url": "CacheList.axd",
"Desc": "自定义系统",
"Self": true
}
],
"CacheItems": [
{
"Enabled": true,
"Key": "RoleHelper-RetrieveRolesByUserName",
"Interval": 600,
"SlidingExpiration": true,
"Desc": "指定用户角色数据缓存"
},
{
"Enabled": true,
"Key": "RoleHelper-RetrieveRolesByUrl",
"Interval": 600,
"SlidingExpiration": true,
"Desc": "通过菜单获得角色数据"
},
{
"Enabled": true,
"Key": "BootstrapUser-RetrieveUsersByName",
"Interval": 600,
"SlidingExpiration": true,
"Desc": "登录用户数据"
},
{
"Enabled": true,
"Key": "BootstrapDict-RetrieveDicts",
"Interval": 600,
"SlidingExpiration": true,
"Desc": "所有字典数据缓存"
},
{
"Enabled": true,
"Key": "BootstrapMenu-RetrieveMenus",
"Interval": 600,
"SlidingExpiration": true,
"Desc": "用户所有菜单数据缓存"
}
]
}
}