Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WCF in binary legacy environment

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

like image 306
Boris Avatar asked Nov 04 '22 10:11

Boris


1 Answers

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

like image 74
chris.house.00 Avatar answered Nov 15 '22 04:11

chris.house.00