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

Posted 懒东

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

以上是关于Miniprofiler在目中使用报 mini-profiler-resources/includes.js 404错误的主要内容,如果未能解决你的问题,请参考以下文章

Radis缓存

在WebApi项目里使用MiniProfiler并且分析 Entity Framework Core

使用MiniProfiler跟踪MVC + EF + Bootstrap 2 权限管理系统的性能消耗

ABP使用Miniprofiler监测EF

MiniProfiler 与 EntityFramework 6 代码优先

Miniprofiler在普通net项目中的使用