Exemplo n.º 1
0
 void EventsManager_OnApplication_PreInitialize(object sender, Web.Interfaces.Events.ApplicationArgs e)
 {
     //StackExchange.Profiling.EntityFramework6.MiniProfilerEF6.Initialize();
     MiniProfiler.Settings.Results_Authorize      = IsUserAllowedToSeeMiniProfilerUI;
     MiniProfiler.Settings.Results_List_Authorize = IsUserAllowedToSeeMiniProfilerUI;
     //动态注册httpModule
     //DynamicModuleUtility.RegisterModule(typeof(MiniProfilterStartupModule));
 }
Exemplo n.º 2
0
 void EventsManager_OnApplication_PreInitialize(object sender, Web.Interfaces.Events.ApplicationArgs e)
 {
     DynamicModuleUtility.RegisterModule(typeof(Glimpse.AspNet.HttpModule));
 }
Exemplo n.º 3
0
 void EventsManager_OnApplication_InitializeComplete(object sender, Web.Interfaces.Events.ApplicationArgs e)
 {
     //RouteTable.Routes.Add(new Route("glimpse.axd", new GlimpseRouteHandler()));
 }