-
Notifications
You must be signed in to change notification settings - Fork 419
/
appsettings.json
43 lines (42 loc) · 1.77 KB
/
appsettings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
//可跨域地址集合
"AllowedHosts": [ "*" ],
"Quartz": {
"dbProviderName": "SQLite-Microsoft",
"connectionString": "Data Source=File/sqliteScheduler.db;"
},
"Logging": {
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Warning"
}
},
"Console": {
"LogLevel": {
"Default": "Warning"
}
}
}
}
//数据源配置
//"dbProviderName":"OracleODPManaged",
//"connectionString": "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=xe)));User Id=system;Password=oracle;"
// # SqlServer 测试通过
//"dbProviderName":"SqlServer",
//"connectionString": "Server=localhost;Database=quartznet;User Id=SqlServerUser;Password=SqlServerPassword;"
//"dbProviderName":"SQLServerMOT",
//"connectionString": "Server=localhost,1444;Database=quartznet;User Id={SqlServerUser};Password={SqlServerPassword};"
// # MySql 测试通过
//"dbProviderName":"MySql",
//"connectionString": "Server = localhost; Database = quartznet; Uid = quartznet; Pwd = quartznet"
// # Npgsql 测试通过
//"dbProviderName":"Npgsql",
//"connectionString": "Server=127.0.0.1;Port=5432;Userid=quartznet;Password=quartznet;Pooling=true;MinPoolSize=1;MaxPoolSize=20;Timeout=15;SslMode=Disable;Database=quartznet"
//"dbProviderName":"SQLite",
//"connectionString": "Data Source=test.db;Version=3;"
// # SQLite-Microsoft 测试通过
//"dbProviderName":"SQLite-Microsoft",
//"connectionString": "Data Source=test.db;"
//"dbProviderName":"Firebird",
//"connectionString": "User=SYSDBA;Password=masterkey;Database=/firebird/data/quartz.fdb;DataSource=localhost;Port=3050;Dialect=3;Charset=NONE;Role=;Connection lifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0;"