摘要: 接口IIocHelper定义 实现IocHelper定义 单例模式获取IocHelper对象 Global.asax.cs的Application_Start()中使用: 其他类: 阅读全文
posted @ 2017-09-22 18:33 PanPan003 阅读(368) 评论(0) 推荐(0)
摘要: protected void Session_Start(object sender, EventArgs e) { #if DEBUG //debug 登陆默认设置 #endif } protected void Application_BeginRequest(object sender, EventA... 阅读全文
posted @ 2017-09-22 18:23 PanPan003 阅读(509) 评论(0) 推荐(0)
摘要: 接口ILogBase: 实现NLogger: 阅读全文
posted @ 2017-09-22 17:51 PanPan003 阅读(295) 评论(0) 推荐(0)
摘要: 应用1:webconfig.cs中设置 应用二:Global.asax.cs ApiExceptionLogger.cs: logger:可以使用NLog实现 阅读全文
posted @ 2017-09-22 17:37 PanPan003 阅读(547) 评论(0) 推荐(0)