开发者

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

开发者 https://www.devze.com 2023-02-19 19:20 出处:网络
There are a lot of posts about transferring files thro开发者_JS百科ugh WCF, and most of them recommend streaming. I\'m designing a WCF service that will have several different clients, .Net and non .N

There are a lot of posts about transferring files thro开发者_JS百科ugh 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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消