摘要:
var builder = new ContainerBuilder(); builder.RegisterModule(); builder.RegisterModule(new ConfigurationSettingsReader()); //如果是多个dll含有,要调用多次 builder.RegisterControllers(typeof(MvcApplication).Assembly) .PropertiesAutowir... 阅读全文
摘要:
ASP.NET trace Logger logger = LogManager.GetCurrentClassLogger(); logger.Info("Execute InitSessionFactory. "); 阅读全文