I’ve derived my own clientbase class. I have a winforms app (client) and the server (windows svc). In the app.config file, I have the following values:
<system.serviceModel>
<services>
<service name = "xtest">
<endpoint
address = "net.pipe://localhost/test"
binding = "netNamedPipeBinding"
contract = "ITest"
/>
</service>
</services>
</system.serviceModel>
This is the same as my server. What is amiss?
Thanks
On the client you need to have a <client> element, not a <services/service>. You’d have something like the config below.