2

我正在使用 VirtualPathProvider 来提供来自 .dll(插件)的一些资源。在 IIS 中,可以将 ASP.NET ISAPI 过滤器的文件类型过滤器更改为“*”。我怎样才能对 Visual Studio 附带的 ASP.NET 开发服务器做同样的事情?

提前干杯!

4

1 回答 1

1

ASP.NET deployment server can process all request (similar to ISAPI configuration on IIS6) if you add this to your web.config:

  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true" />
  </system.webServer>
于 2011-05-26T22:27:07.240 回答