Exemple #1
0
        public void End()
        {
            if (monitorEnabled && watch != null)
            {
                watch.Stop();

                var data = MonitorService.GetPageMonitorData(path);
                data.Append(this);

                Workbench.Current.Items.Remove(MonitorItemKey);
            }
        }
Exemple #2
0
 public void BeginRequest(HttpApplication app)
 {
     MonitorService.RequestBegin(app);
 }
Exemple #3
0
 public void EndRequest(HttpApplication app)
 {
     MonitorService.RequestEnd(app);
 }
Exemple #4
0
 public void Init()
 {
     MonitorService.Init();
     RouteTable.Routes.Ignore(String.Format("{0}/{{*pathInfo}}", MonitorService.CommandService.BathPath));
 }