Use multiple endpoints with different bindings to enable accessing the WCF svc from different locations.
<bindings> <basicHttpBinding> <binding name="basicBinding" textEncoding="utf-8" openTimeout="00:03:00" closeTimeout="00:03:00" /> </basicHttpBinding> <netPeerTcpBinding> <binding name="netP2P" > <resolver mode="Pnrp" /> <security mode="None" /> </binding> </netPeerTcpBinding></bindings>
<endpoint address="http://localhost:8731/EmployeeWCFService.ServiceImplementation.Manager/" binding="basicHttpBinding" contract="EmployeeWCFService.ServiceContract.IEmployee" /><endpoint address="net.p2p://localhost/MemberWCFService.ServiceImplementation.Member/" binding="netPeerTcpBinding" bindingConfiguration="netp2pBinding" contract="MemberWCFService.ServiceContract.IMember">