static Bootstrapper() { var container = new Container(); InfrastructureInstaller.RegisterServices(container); ControllersInstaller.RegisterServices(container); ViewsInstaller.RegisterServices(container); container.Verify(); Container = container; }
static Bootstrapper() { Logger = log4net.LogManager.GetLogger("RollingFileLogger"); var container = new Container(); container.Options.DefaultScopedLifestyle = new WebRequestLifestyle(); InfrastructureInstaller.RegisterServices(container); ControllersInstaller.RegisterServices(container); container.Verify(); Container = container; //FinanceManagerMessageCallback.SubscribeToMessages(); }