We are writing C# client which should connect to old legacy servers. To be extensible in the future we would like to utilize WCF framework.
The old legacy protocol is proprietary & binary one. To integrate into WCF we would like to replace the usual XML serializer into our proprietary binary format marshaller. Pay attention we do not want to encapsulate the XML into some other transport protocol but to completely replace the XML serializer as irrelevant. Think about WCF talking to CORBA (but not CORBA really) server which does not understand any HTTP/SOAP/MTOM/...
Can someone point us to the example on how to do it
I believe what you want is a WCF custom channel. Have a look at the following post which includes some links that I believe will be helpful for what you wnat to do:
How to write a socket based Custom Transport for WCF
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With