VirtualPathProvider 不会看到请求,因为 * 文件类型处理程序未在 asp.net 开发服务器上设置
我正在使用 VirtualPathProvider 来提供 .dll(插件)中的一些资源。在 IIS 中,可以将 ASP.NET ISAPI 过滤器的文件类型过滤器更改为“*”。如何对 Visual Studio 附带的 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 server that comes with Visual Studio?
Cheers in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果将以下内容添加到 web.config 中,ASP.NET 部署服务器可以处理所有请求(类似于 IIS6 上的 ISAPI 配置):
ASP.NET deployment server can process all request (similar to ISAPI configuration on IIS6) if you add this to your web.config: