1 Star 0 Fork 835

wenzd/iotgateway

forked from Sam/iotgateway 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
appsettings.json 2.88 KB
一键复制 编辑 原始数据 按行查看 历史
{
"Logging": {
"Console": {
"IncludeScopes": true,
"LogLevel": {
"Default": "Error"
}
},
"Debug": {
"IncludeScopes": true,
"LogLevel": {
"Default": "Error"
}
},
"WTM": {
"LogLevel": {
"Default": "Information"
}
}
},
"Connections": [
{
"Key": "default",
"Value": "server=172.17.0.1;database=iotgateway;user=root;CharSet=utf8mb4;password=agv123456;port=3366;Allow User Variables=True;",
"DbContext": "DataContext",
"DBType": "mysql" //DataBase, you can choose mysql,sqlserver,pgsql,sqlite,oracle
}
],
"CookiePre": "IoTGateway", //cookie prefix
"IsQuickDebug": false, //is debug mode
"CorsOptions": {
"EnableAll": true,
"Policy": [
{
"Name": "Default",
"Domain": "http://localhost,https://localhost"
}
]
},
"ErrorHandler": "/_Framework/Error",
"Languages": "zh,en",
"BlazorMode": "server", // server or wasm
"UIOptions": {
"DataTable": {
"RPP": 100, //default records per page for all datagrid
"ShowPrint": true,
"ShowFilter": true
},
"ComboBox": {
"DefaultEnableSearch": true
},
"DateTime": {
"DefaultReadonly": true
},
"SearchPanel": {
"DefaultExpand": false
}
},
"PageMode": "Tab", //display mode,Single or Tab
"TabMode": "Simple", //Tab mode,Default or Simple
"IsFilePublic": false, //Can download or view attachment file without login
"FileUploadOptions": {
"UploadLimit": 2097152000,
"SaveFileMode": "local", //上传文件的保存方式,可选Database,local,oss
"Settings": {
"local": [
{
"GroupName": "driver",
"GroupLocation": ""
}
],
"oss": [
{
"GroupName": "default",
"GroupLocation": "wtmimg",
"ServerUrl": "",
"Key": "",
"Secret": ""
}
]
}
},
"JwtOptions": {
"Issuer": "http://localhost",
"Audience": "http://localhost",
"Expires": 3600,
"SecurityKey": "superSecretKey@345",
"RefreshTokenExpires": 86400,
"LoginPath": "/_Framework/Redirect401"
},
"CookieOptions": {
"Issuer": "http://localhost",
"Audience": "http://localhost",
"Domain": "",
"Expires": 3600,
"SlidingExpiration": true,
"SecurityKey": "superSecretKey@345",
"RefreshTokenExpires": 86400,
"LoginPath": "/Login/Login"
},
"Domains": {
"server": { //Blazor Server模式下页面调用接口的内网地址
"Address": "http://localhost:6652"
},
"serverpub": { //Blazor Server模式下页面调用接口的外网地址,可为空,为空表示api和页面部署在同一地址下
"Address": "http://localhost:6652"
},
"github": {
"Address": "https://api.github.com"
}
},
"AppSettings": {
"key1": "value1",
"key2": "value2"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/wenzd/iotgateway.git
git@gitee.com:wenzd/iotgateway.git
wenzd
iotgateway
iotgateway
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385