/// <summary>
        /// This method is called by ASP.NET system on web application's startup.
        /// </summary>
        protected virtual void Application_Start(object sender, EventArgs e)
        {
            IocManager.Instance.IocContainer.Register(Component.For<IAssemblyFinder>().ImplementedBy<WebAssemblyFinder>());

            AbpBootstrapper = new AbpBootstrapper();
            AbpBootstrapper.Initialize();
        }
Exemple #2
0
        public static void Initialize()
        {
            if (_bootstrapper != null)
            {
                return;
            }

            _bootstrapper = new AbpBootstrapper();
            _bootstrapper.Initialize();
        }
 public AbpInitializationContext(AbpBootstrapper abpBootstrapper)
 {
     _abpBootstrapper = abpBootstrapper;
 }