Changed the profiler over to use resolvers again. We no longer will call MiniProfiler directly.

Added an HtmlHelper extension which is used to render the profiler html output.
Added an HtmlHelper property to the new base page too.
This commit is contained in:
Shannon Deminick
2013-05-13 20:10:28 -10:00
parent 922ebe5411
commit b6f52bf782
19 changed files with 333 additions and 331 deletions

View File

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