Monday, July 17, 2017

MTOM in WCF - Message Transmission Optimization Mechanism

Default message encoding in WCF is Text which is base64 encodes data.
It has two disadvantages

1. Base 64 encoding (bloats)increase the message size by 33%
2. It evolves extra processing overhead to encode and decode base64.

The best approach to send large data is MTOM. It does not base64 encode data. It is fast and does not have overhead of encode and decode.

With MTOM binary data is included as a MIME (Multipurpose Mail Extension)

Followers

Link