I am trying to get my svc file working under IIS. In my project, when I press F5 I got the svc working. So I know everything is okay, right? Except for IIS.
I am working
First, remove the [DataContract] attribute in Client.
Then, recompile and make sure that you have the WcfServiceLibrary.dll in the /bin directory for your virtual directory.
Your config should use this endpoint for metadataexchange: