示例#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();
 }