Miniprofiler在目中使用报 mini-profiler-resources/includes.js 404错误
原因,没有配置webconfig
<system.webServer> <modules> <remove name="FormsAuthentication" /> </modules> <handlers> <add name="MiniProfiler" path="mini-profiler-resources/*" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode" /> </handlers> <staticContent> <remove fileExtension=".woff" /> <remove fileExtension=".woff2" /> <mimeMap fileExtension=".woff" mimeType="application/x-woff" /> <mimeMap fileExtension=".woff2" mimeType="application/x-woff2" /> </staticContent> </system.webServer>
参考:https://www.cnblogs.com/smallidea/p/5274803.html
将偷懒进行到极致,是一个程序员的基本素养