一开始可能会写得很乱,因为自己也不太清楚从哪里入手,可能会直接将一些别人的心得罗列出来,后面我会在吸收了以后,找到了头绪,然后整理归纳出自己的东西。不多扯了,先摘一段别人的心得,原文链接http://www.cnblogs.com/Azula/p/4988949.html 一 ...
一开始可能会写得很乱,因为自己也不太清楚从哪里入手,可能会直接将一些别人的心得罗列出来,后面我会在吸收了以后,找到了头绪,然后整理归纳出自己的东西。
不多扯了,先摘一段别人的心得,原文链接http://www.cnblogs.com/Azula/p/4988949.html
一 . AbpBootstrapper类在Abp.dll中,其主要用于框架的基本配置的注册和初始化,在Web应用启动阶段实例化一个AbpBootstrapper并调用Initialize方法初始化,
public abstract class AbpWebApplication : HttpApplication { /// <summary> /// Gets a reference to the <see cref="AbpBootstrapper"/> instance. /// </summary> protected AbpBootstrapper AbpBootstrapper { get; private set; } protected AbpWebApplication() { AbpBootstrapper = new AbpBootstrapper(); } /// <summary> /// This method is called by ASP.NET system on web application's startup. /// </summary> protected virtual void Application_Start(object sender, EventArgs e) { ThreadCultureSanitizer.Sanitize(); AbpBootstrapper.IocManager.RegisterIfNot<IAssemblyFinder, WebAssemblyFinder>(); AbpBootstrapper.Initialize(); }
原标题:ABP 框架从源码学习1
关键词:
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。