Search code examples
wcfstreamingwcf-binding

Supported bindings for WCF streaming transfers


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!


Solution

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

    ...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