Pascal
Pascal

Reputation: 2984

Transfer 2-10MB files with WCF to non .Net clients

There are a lot of posts about transferring files through WCF, and most of them recommend streaming. I'm designing a WCF service that will have several different clients, .Net and non .Net (Delphi 2010 clients), downloading those files. What is the best method to transfer files when there will be non .Net clients?
Edit
I will be transferring the files through the internet via basicHttpBinding
Tks

Upvotes: 1

Views: 432

Answers (1)

Johann Blais
Johann Blais

Reputation: 9469

I would recommend to use the MTOM encoding for binary data. It is the preferred way of passing data between compatible clients.

http://msdn.microsoft.com/en-us/library/aa751889.aspx

Upvotes: 2

Related Questions