Host a WCF service in IIS
If your WCF service has an extension .svc you need to add a Managed handler for that extension in your Web.Config file.
Web.Config Handler configuration examples:
v3
<system.webServer>
<handlers>
<add name=".svc" verb="*" path="*.svc" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
v4
<system.webServer>
<handlers>
<add name=".svc" verb="*" path="*.svc" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />