Пример #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
 protected void Application_End()
 {
     PerfItMvcRuntime.Stop();
 }
Пример #3
0
 public override void Uninstall(IDictionary savedState)
 {
     base.Uninstall(savedState);
     PerfItMvcRuntime.Uninstall();
 }
Пример #4
0
 public override void Install(IDictionary stateSaver)
 {
     base.Install(stateSaver);
     PerfItMvcRuntime.Install();
 }