简体   繁体   English

WCF:不使用HTTP的文件传输

[英]WCF: File Transfer without using HTTP

Good day all. 大家好。

I am completely new to WCF and Im learning as I am going. 我是WCF和Im学习的新手。

I just would like to know, what are the best way of downloading or uploading files by getting it directly from disc and not via http. 我只是想知道,通过直接从光盘而​​不是通过http获取文件来下载或上传文件的最佳方法是什么。

Currently I am using WCF and http using the chunk way, but for a specific set of file I need to do it differently.Any tips, help or links will help me alot 目前,我正在使用WCF和http的块方式,但是对于一组特定的文件,我需要以不同的方式进行操作。任何提示,帮助或链接都将对我有很大帮助

When you transfer large files the best way to using “WCF service + HTTP”, we can use the following types of bindings: 当您以使用“ WCF服务+ HTTP”的最佳方式传输大文件时,我们可以使用以下类型的绑定:

wsHttpBinding basicHttpBinding wsHttpBinding basicHttpBinding

Where do your clients reside? 您的客户住在哪里? If the transfer is within the same network, you can take a look at this article. 如果传输是在同一网络内,你可以看看这个文章。 Otherwise, check this information on MSDN. 否则,请在MSDN上检查信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM