Registering WCF components manually in IIS server

When hosting WCF in IIS web server, it is required that the WCF-specific modules and application script mappings are installed. By default, after installing .NET framework 3.x or 4.0, those WCF extension modules and script mappings will be installed in the IIS server automatically. However, in some cases where the server environment has become corrupt or cleaned, we might need to manually install the WCF components.

In this recipe, we will demonstrate how to manually register the WCF extension components on a development machine.

How to do it...

.NET framework provides a built-in tool for configuring WCF components on a given machine. This tool is called ServiceModelReg.exe, which is included in ...

Get Microsoft Windows Communication Foundation 4.0 Cookbook for Developing SOA Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.