Help choose a binding (WCF)

I need to create a WCF application that will work with images. It allows you to receive the image as a stream and send the image to the server (as a stream). It will operate in streaming mode. At the moment, I am hesitating about this choice. BasicHttpBinding or NetTcpBinding? What are the differences between them? Advantages and disadvantages. What will be better for this problem?

+3
source share
2 answers

Bookmark this blog post (or many others similar)

The diagram for choosing the right binding from Yuval Lowy's book Programming WCF Services and gives the best guidance, really:

enter image description here

, - net.msmq .

basicHttpBinding, netTcpBinding netNamedPipesBinding. , , , ( ).

, basicHttpBinding vs. netTcpBinding. basicHttp http- 80, " " , netTcp , , / - , , LAN, .

, . Relay, , , , - , .

+5

, . , 100 , transferMode. , , , .

+2

Source: https://habr.com/ru/post/1793450/


All Articles