WCF streaming inside data contracts

(A small break from the current WCF extensibility series, as I faced this issue helping a customer this week and I thought it would be worth sharing) In order to support transferring of large messages (e.g., uploading or downloading a large file), WCF added support (since its first version) to streaming message transfer – unlike…

9

Using MTOM in a WCF custom encoder

One of the out-of-the-box XML encoders for messages in WCF is the MTOM encoder. It provides an efficient way of transmitting large binary data in the body of SOAP envelopes (by *not* applying the base-64 encoding to such data, which increases its size by roughly 33%), while still being interoperable with other platforms (MTOM is…

4