ASP.NET: What does this HttpModule do? System.ServiceModel.Activation.HttpModule

后端 未结 3 1852
名媛妹妹
名媛妹妹 2021-01-12 02:45

Can anyone tell me the purpose of this HttpModule? It\'s showing up on my HttpModuleCollection list, but I don\'t know what\'s it\'s for.

System.ServiceMode         


        
3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-12 03:37

    This module is what allows WCF (Windows Communication Foundation) services to work (starting in .net Framework 3.0).

    You can safely ignore it and it shouldn't cause trouble. If you really want to get rid of it, you can remove it from your root web.config file (e.g. in \Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config). But I suggest leaving it there just in case you need WCF at some point.

提交回复
热议问题