/// <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(); }
public static void Initialize() { if (_bootstrapper != null) { return; } _bootstrapper = new AbpBootstrapper(); _bootstrapper.Initialize(); }