Hosting WCF / .svc Files in IIS7
Thursday, January 11th, 2007Here are the steps that you need to go through to get a WCF service hosted in IIS7. I’ve had to track down this information a few different times, so I thought it was worth posting. The documentation for all of this exists, it’s just scattered and you can find multiple sets of instructions for hosting .svc files due to the changes in the earlier builds of Vista.
The first thing you need to do is install IIS7. To do this, go to Control Panel > Programs > “Turn Windows features on or off”

Select “Internet Information Services” and then drill down and make sure that ASP.Net is checked.

The next thing you need to do is install the other bits and pieces that WCF need to have to run in IIS. You can do this by running the command prompt (be sure to run as Administrator) and run ServiceModelReg.exe -i.

Now you should be good to go.

