Search code examples
c#wcfwcf-hosting

WCF Service Hosting on client premises


I have to create an application which communicate with DB through WCF Service. WCF service will be hosted on client's server.It will be an intranet environment. I want to use NetTCPBinding to get the performance benefit.

If i use IIS7 to host my service on client's server, then source code is available to client. I don't want to make source available to client.

My question is. How do I host my service so source code would not available to client?

While we are hosting WCF service in IIS 7 can we provide only WCf service exe? If yes then how Please explain.


Solution

  • Here is quite detailed guide of how to host WCF service in IIS. No need to put your source code there.