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)
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)
1 comment:
A wonderful product green apple cbd gummies
Post a Comment