Exemplo n.º 1
0
 public static void Bootstrap()
 {
     RouteConfigurator.RegisterRoutes(RouteTable.Routes);
     ControllerBuilder.Current.SetControllerFactory(new WindsorControllerFactory(IoC.Container));
     WindsorConfigurator.Configure();
     AwesomeConfigurator.Configure();
 }
Exemplo n.º 2
0
        public static void Bootstrap()
        {
            RouteConfigurator.RegisterRoutes(RouteTable.Routes);
            ControllerBuilder.Current.SetControllerFactory(new WindsorControllerFactory(IoC.Container));
            WindsorConfigurator.Configure();
            AwesomeConfigurator.Configure();

            Globals.PicturesPath = HttpContext.Current.Server.MapPath("~/pictures");
            new Worker().Start();
        }