开发者

VirtualPathProvider won't see requests because * filetype handler not set on asp.net development server

I am using a VirtualPathProvider to serve some resources from .dll's (plugins). In IIS one can change the filetype filter for the ASP.NET ISAPI filter to '*'. How can I do the same for the ASP.NET development serv开发者_运维问答er that comes with Visual Studio?

Cheers in advance!


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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜