设置让ASP.NET管道接收所有类型的请求

在web.config文件添加如下一段配置:

<configuration>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true">
    </modules>
  </system.webServer>
</configuration>
原文地址:https://www.cnblogs.com/frankyou/p/4704226.html