WCF custom composite encoder

This sample shows an implementation of a custom message encoder in WCF, by creating a composite encoder which wraps two other encoders (a text and a MTOM encoder) in one, for accepting requests in either format, but always responding with one (in this case, text).

C# (37.0 KB)
 
 
 
 
 
5 Star
(1)
1,463 times
Add to favorites
11/9/2011
E-mail Twitter del.icio.us Digg Facebook