Transferring file using WCF

浪子不回头ぞ 提交于 2019-12-10 23:31:32

问题


I'm trying to write a WCF service that allows PCs and Windows Mobiles to download certain files. For the PCs I used MTOM to stream the data to the clients but it seems that Windows Mobile does not support MTOM. How can I implement a single service to download files? The file sizes vary from 100KBs to 10MBs.


回答1:


At this time, DIME is still the way to go as there is no MTOM implementation for .NET CF.

See also:

  • Dime Buffered Upload
  • WSE 3.0 cannot be used with the Compact Framework 2.0 on Mobile 5.0 devices
  • Upload and download large files - Windows Mobile (Compact Framework) via Web Services (WCF, MTOM, WCE?)


来源:https://stackoverflow.com/questions/741378/transferring-file-using-wcf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!