摘要:
如图 一、appsettings.json { "aaa": "000", "dbparam": { "dbname": "kkkkk", "url": "hhhhhh" } } 二、DbParam.cs public class DbParam { public string dbname { g 阅读全文
摘要:
如图: 一、program.cs // 配置 log4net XmlConfigurator.Configure(new FileInfo("log4net.config")); 二、公共类 LogHelper.cs using log4net;namespace ElecInvoice.Commo 阅读全文