WCF 流传输支持的绑定 [英] Supported bindings for WCF streaming transfers
本文介绍了WCF 流传输支持的绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用 basicHttpBinding 进行流传输,当我将绑定更改为 netTcpBinding 时,服务开始抛出异常...请帮助我了解传输流的最快绑定...
非常感谢!>
I was using basicHttpBinding for streaming transfer, When I change binding to netTcpBinding , Service start to throw exception... Please help me to understand the fastest binding to transfer streams...
Thanks a lot!
推荐答案
一些用于文件传输的好链接,可能会帮助您了解正在发生的事情:
Some good links for file transferring, might help you get to the bottom of what's going on:
- 流媒体:MSDN
...您只能使用传输级别的安全选项进行流式传输,并且您无法打开可靠会话.流式传输仅适用于以下系统定义的绑定:
...you can use only transport-level security options for streaming and you cannot turn on reliable sessions. Streaming is only available with the following system-defined bindings:
- 基本HttpBinding
- NetTcpBinding
- NetNamedPipeBinding
- WebHttpBinding
- 传输块:代码项目(可能不相关)立>
- 流媒体问题:weblogs.asp.net
- Transferring Chunks: Code Project (may not be relevant)
- Streaming Issues: weblogs.asp.net
这篇关于WCF 流传输支持的绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文