A breaking change in .NET 4.5 (RC) creates a 404 error while trying to access resources underneath mini-profiler-resources. This appears to affect both MVC 3 and MVC 4 projects targeting .NET 4.5.
Setting runAllManagedModulesForAllRequests="true"
will not fix the problem. I was finally able to make it work by including:
<system.webServer>
...
<handlers>
<add name="MiniProfiler" path="mini-profiler-resources/*" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode" />
</handlers>
</system.webServer>
Can this behavior be fixed, or can MiniProfiler.MVC be updated to add this section to web.config by default?