Ejemplo n.º 1
0
        public override void PreInitialize()
        {
            Configuration.Navigation.Providers.Add <ChiMaNavigationProvider>();

            //Configuration.Modules.AbpMvc();
            Configuration.BackgroundJobs.IsJobExecutionEnabled = false;

            ChiMaConfig.Load(_appConfiguration);
        }
Ejemplo n.º 2
0
        public override void PreInitialize()
        {
            Configuration.DefaultNameOrConnectionString = _appConfiguration.GetConnectionString(
                ChiMaConsts.ConnectionStringName
                );

            Configuration.BackgroundJobs.IsJobExecutionEnabled = false;

            ChiMaConfig.Load(_appConfiguration);
        }
Ejemplo n.º 3
0
        public override void PreInitialize()
        {
            Configuration.DefaultNameOrConnectionString = _appConfiguration.GetConnectionString(
                ChiMaConsts.ConnectionStringName
                );

            Configuration.BackgroundJobs.IsJobExecutionEnabled = false;
            Configuration.ReplaceService(typeof(IEventBus), () =>
            {
                IocManager.IocContainer.Register(
                    Component.For <IEventBus>().Instance(NullEventBus.Instance)
                    );
            });

            ChiMaConfig.Load(_appConfiguration);
        }