If you are developing you WCF service for web service deployment under IIS and coding with the Visual Studio web server you are in for a rude awakening when it comes time to deploy your solution.  Ok, so that is a little over dramatic, but there are a few steps and precautions you need to know about.

Below are the main steps to deploying your application to IIS assuming WCF is already installed and registered.

The first step is to create an application pool.  Make sure that for your .NET 3.5 WCF service that the application pool is set to the 2.0 .NET framework.


Next you need to create a new site.  The application pool for this site should be the one that you just created.


So here is that precaution I was talking about earlier.  You run into a number of hurdles if you try to share a site with a WCF service and another application.  The easiest way around that is to deploy each service project to its own site.  I am still working on how to get them to co-exist and will post that information when I have it resolved.

Lastly, at a minimum you need to copy the bin directory, web.config and .svc files to the physical directory that your new site references.  This configuration should work in most cases.  In the future I will address some of the common alternate configuration.  Stay tuned.