Reputation: 2984
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
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