问题
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