In Part 1 I showed you how you can use WCF with named pipes to send messages from a client to a server. Now I will show you how we can modify that code to send messages in the other direction, from the server back to the client. We do this by creating a callback interface and referencing it in our service contract. We then implement the callback interface in our client.
Welcome to my blog! I'll be posting any bits and pieces I come across that I think might be interesting or useful for any one else. Hopefully it will be of use to others out there.
Showing posts with label Interprocess Communication. Show all posts
Showing posts with label Interprocess Communication. Show all posts
Monday, 6 May 2013
Tuesday, 30 April 2013
Interprocess Communication with WCF - Part 1
With the introduction of Microsoft's Windows Communication Foundation from .NET 3.0 onwards we have been provided with a powerful framework for communicating across process boundaries, whether they are on the same machine, the same network or even across the internet. A huge range of configuration options are available for the many scenarios that WCF can be used as part of our solution and they can seem overwhelming to begin with.
Subscribe to:
Posts (Atom)