Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I know the great miniprofiler is added on umbraco since version 6.1.2... I'm working with a v7 in this case, I've set this on my global.asax:
protected void Application_BeginRequest() { if (Request.IsLocal) { MiniProfiler.Start(); } } protected void Application_EndRequest() { MiniProfiler.Stop(); }
The @MiniProfiler.RenderIncludes() is also added in my _layout.cshtml.
I've added the handler on the web.config
<add name="MiniProfiler" path="mini-profiler-resources/*" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode" />
But it doesn't seem to work. Any help is appreciated! (:
Thanks.
Hi Antao
Did you set debug="true" in the web.config?
In the <compilation> section you should set the debug attribute to true. Should look like this
<compilation defaultLanguage="C#" debug="true" batch="false" targetFramework="4.5">
Remember to switch back to false when you build your solution to a live environment.
Hope this helps.
/Jan
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Miniprofiler y u no work!
I know the great miniprofiler is added on umbraco since version 6.1.2... I'm working with a v7 in this case, I've set this on my global.asax:
The @MiniProfiler.RenderIncludes() is also added in my _layout.cshtml.
I've added the handler on the web.config
But it doesn't seem to work. Any help is appreciated! (:
Thanks.
Hi Antao
Did you set debug="true" in the web.config?
In the <compilation> section you should set the debug attribute to true. Should look like this
<compilation defaultLanguage="C#" debug="true" batch="false" targetFramework="4.5">
Remember to switch back to false when you build your solution to a live environment.
Hope this helps.
/Jan
is working on a reply...