private static void BootstrapContainer()
        {
            container = new WindsorContainer()
                        .Install(FromAssembly.This());
            var controllerFactory = new WindsorControllerFactory(container.Kernel);

            ControllerBuilder.Current.SetControllerFactory(controllerFactory);
        }
Example #2
0
        private static void BootstrapContainer()
        {
            container = new WindsorContainer();
            container.Install(new DataInstaller());
            container.Install(new Installer());

            var controllerFactory = new WindsorControllerFactory(container.Kernel);

            ControllerBuilder.Current.SetControllerFactory(controllerFactory);
        }