コード例 #1
0
ファイル: PlusStarter.cs プロジェクト: weikety/Magicodes.NET
 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));
 }
コード例 #2
0
ファイル: Plus.cs プロジェクト: weikety/Magicodes.NET
 void EventsManager_OnApplication_PreInitialize(object sender, Web.Interfaces.Events.ApplicationArgs e)
 {
     DynamicModuleUtility.RegisterModule(typeof(Glimpse.AspNet.HttpModule));
 }
コード例 #3
0
ファイル: Plus.cs プロジェクト: weikety/Magicodes.NET
 void EventsManager_OnApplication_InitializeComplete(object sender, Web.Interfaces.Events.ApplicationArgs e)
 {
     //RouteTable.Routes.Add(new Route("glimpse.axd", new GlimpseRouteHandler()));
 }