Share via


Extending WCF for Legacy Protocol Support

I recently had a customer with the following project. A new software system is being build based on a SOA approach. Unfortunately, at least one client is a legacy mainframe socket application with a positional message format. The traditional approach for this problem is to write custom threading and socket code. This often leads to unreliable and hard to maintain code that lacks flexibility to support additional message protocols in a coherent manner.

After a thorough investigation it was decided to utilize the extensibility points in Windows Communications Foundation’s (WCF) to implement the solution. I posted a derived (simplified) code sample and a whitepaper on https://code.msdn.microsoft.com/WcfBinaryTcpExt. Lenny Fenster and Simon Gurevich helped me with this effort.

I will discuss a few specific aspects of the source code in more detail at a later date.