WCF Essentials—Web.Config file
The web site config file (
Web.Config) must list the types you want to expose as services.
You need to use fully qualified type names, including the assembly name, if the
service type comes from an unreferenced assembly:
<system.serviceModel> <services> <service name = "MyNamespace.MyService"> ... </service> </services> </system.serviceModel>