Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between netTcpContextBinding and netTcpBinding

Tags:

wcf

binding

What is the difference between netTcpContextBinding and netTcpBinding in WCF? When/Why should I pick one over the other?

like image 868
Pascal Avatar asked Dec 07 '10 09:12

Pascal


1 Answers

The NetTcpContextBinding (and the other Context bindings) includes an extra channel in the stack; ContextBindingElement, which is typically used when exposing workflows as services (to help establish and maintain a "session" that correlates on (ex.) a header).

--larsw

like image 188
larsw Avatar answered Oct 05 '22 20:10

larsw