X/Samples/Zero.Desktop/appsettings.json

25 lines
1023 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
//"StarServer": "http://s.newlifex.com:6600",
//"RedisCache": "server=127.0.0.1:6379;password=;db=3",
//"RedisQueue": "server=127.0.0.1:6379;password=;db=5",
"ConnectionStrings": {
"Membership": "Data Source=..\\Data\\Membership.db;Provider=SQLite",
"Log": "Data Source=..\\Data\\Log.db;Provider=SQLite",
"Zero": "Data Source=..\\Data\\Zero.db;Provider=SQLite"
// 各种数据库连接字符串模版连接名Zero对应Zero.Data/Projects/Model.xml中的ConnName
//"Zero": "Server=.;Port=3306;Database=zero;Uid=root;Pwd=root;Provider=MySql",
//"Zero": "Data Source=.;Initial Catalog=zero;user=sa;password=sa;Provider=SqlServer",
//"Zero": "Server=.;Database=zero;Uid=root;Pwd=root;Provider=PostgreSql",
//"Zero": "Data Source=Tcp://127.0.0.1/ORCL;User Id=scott;Password=tiger;Provider=Oracle"
}
}