Removed all MiniProfile calls that were trying to be simple trace messages (not actually profiling). This doesn't actually

work since MiniProfiler was not meant for that and won't actually output them unless you add Thread.Sleep statements into the using
clauses simply to slow down the application, not ideal. Updated the WebProfiler to log a statement when in medium trust.
This commit is contained in:
Shannon Deminick
2013-05-12 18:06:26 -10:00
parent b2fe35695f
commit 09a6cdc8b6
9 changed files with 58 additions and 54 deletions

View File

@@ -237,7 +237,7 @@ namespace Umbraco.Web
base.InitializeResolvers();
//Set the profiler to be the web profiler
ProfilerResolver.Current.SetProfiler(new WebProfiler(UmbracoApplication));
ProfilerResolver.Current.SetProfiler(new WebProfiler());
//set the default RenderMvcController
DefaultRenderMvcControllerResolver.Current = new DefaultRenderMvcControllerResolver(typeof(RenderMvcController));