我有一个MVC3 ASP.NET应用程序.如果我遍历加载的IHttpModules列表,我看到列出了ServiceModel,它是
Windows Communication Foundation HTTP Activation的模块.
我怀疑我不需要这个模块,并考虑删除此模块.
我怎么知道我是否真的需要它?
解决方法
我的第一反应是:尝试一下,看看会发生什么.反过来,当你在网上搜索“安装WCF HTTP激活处理程序”(因为你想知道人们想要安装它的时候)时,你会在这里找到像
here这样的解释:
After installing Windows 7 and IIS,when I attempt to browse to a WCF service I get the following error message: HTTP Error 404.3 – Not Found
HTTP Error 404.3 – Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script,add a handler. If the file should be downloaded,add a MIME map.
This error message occurs when “Windows Communication Foundation HTTP Activation” is not explicitly set in the Control Panel.
因此,人们使用处理程序在IIS中托管WCF服务.如果你不这样做,你可以简单地删除处理程序.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。