Supported bindings for WCF streaming transfers

本秂侑毒 提交于 2019-12-08 11:17:34

问题


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!


回答1:


Some good links for file transferring, might help you get to the bottom of what's going on:

  • Streaming: 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:

  • BasicHttpBinding
  • NetTcpBinding
  • NetNamedPipeBinding
  • WebHttpBinding
  • Transferring Chunks: Code Project (may not be relevant)
  • Streaming Issues: weblogs.asp.net


来源:https://stackoverflow.com/questions/898168/supported-bindings-for-wcf-streaming-transfers

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