Пример #1
0
        protected void Application_Start()
        {
            PerfItMvcRuntime.Install();
            PerfItMvcRuntime.Start("PerfItMvc.SampleApp");
            //PerfItRuntime.Install();
            //PerfItRuntime.Uninstall();
            AreaRegistration.RegisterAllAreas();

            WebApiConfig.Register(GlobalConfiguration.Configuration);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
        }
Пример #2
0
 public override void Install(IDictionary stateSaver)
 {
     base.Install(stateSaver);
     PerfItMvcRuntime.Install();
 }