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

posted @ 2018-07-07 19:57  南东  阅读(410)  评论(0编辑  收藏  举报