码迷,mamicode.com
首页 > Web开发 > 详细

Miniprofiler在目中使用报 mini-profiler-resources/includes.js 404错误

时间:2018-07-07 22:25:31      阅读:505      评论:0      收藏:0      [点我收藏+]

标签:form   http   profile   source   app   auth   ide   ext   cond   

原因,没有配置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

Miniprofiler在目中使用报 mini-profiler-resources/includes.js 404错误

标签:form   http   profile   source   app   auth   ide   ext   cond   

原文地址:https://www.cnblogs.com/bamboo-zhang/p/9278269.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!