Expose a WCF Service through a Named Pipes binding

Your endpoint looks fine, although I’m curious about what’s in localBinding… Sounds like the easiest option is to just change the endpoint configuration on the named pipes client to match your service endpoint. The client shouldn’t care as long as it’s the only endpoint in the clients config file. Otherwise you’ll have to add names … Read more

Connecting via named pipe from windows service (session#0) to desktop app (session #1)

An easier solution might be to use a WCF duplex contract with the Windows service hosting the WCF service. The client App would call an operation on the service to register itself, when it starts up. The Ping would then be an operation invoked periodically by the service on the client’s callback contract, to which … Read more