http协议 put、delete请求asp.net mvc应用,报404错误

 

http协议 put、delete请求asp.net mvc应用,报404错误

更改web.config,在<modules>节点中设置 runAllManagedModulesForAllRequests="true"

    <modules runAllManagedModulesForAllRequests="true">
      <remove name="ApplicationInsightsWebTracking" />
      <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
    </modules>

 

posted @ 2018-03-29 15:32  雨也绵绵  阅读(403)  评论(0)    收藏  举报