开发者

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

开发者 https://www.devze.com 2023-02-22 11:50 出处:网络
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

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

精彩评论

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