biju
biju

Reputation:

Streaming Image files using Wcf

I want to send a large image to server through Wcf.I may pass it as a byte[].How can i do that.What is MTOM...where can i find a sample...?

Upvotes: 5

Views: 3781

Answers (1)

Kurt Schelfthout
Kurt Schelfthout

Reputation: 8990

MTOM is just an optimized message encoding format. It stands for Message Transmission Optimization Mechanism and transmits as bytes instead of angle brackets (aka XML). Here is a basic introduction to using MTOM with WCF.

This small sample should get you started if you want to use streaming, which is a nice option if you want to transmit large files.

Upvotes: 5

Related Questions