I have an MVC3 ASP.NET application. If I iterate over the list of loaded IHttpModule
s I see that there's ServiceModel
listed which is a module for Windows Communication Foundation HTTP Activation.
I suspect I don't need this module and consider having this module removed.
How do I know if I really need it?
WCF is automatically installed with . NET 3.0 and any higher version. However, you still need to install the WCF HTTP Activation feature yourself. When hosting Kentico on Microsoft Azure Web Apps or Cloud Services, WCF and the HTTP Activation feature are installed and enabled by default.
Windows Activation Service allows the developers to choose the most appropriate protocol for their needs. For HTTP, data transfer relies on the ASP.NET HTTP. For protocols such as TCP and Named Pipes, Windows Activation Service leverages the extensibility points of ASP.NET for transferring data.
My first response would be: try it and see what happens. The other way around, when you search the web for "install WCF HTTP Activation handler" (because you would like to know what people do want to install it for), where you will find explanations like 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.
So, people use the handler to host WCF services in IIS. If you don't do that, you can simply remove the handler.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With