问题
WCF binding chooser algorithm
I have watched a speak at a TechEd conference that showed a simple algorithm for choosing a WCF binding. I can't find this algorithm but I remember some of the main ideas:
- If your WCF service will have non-.NET clients choose Http Soap
- If your WCF will have .NET clients in other machines choose Net Tcp
- If your WCF will have .NET clients in the same machine choose Message Queue
Can anyone provide a link to the full version of this algorithm?
回答1:
Something like that maybe?
WCF Binding Decision Chart
WCF Binding Decision Chart http://img109.imageshack.us/img109/4686/wcfbindingdecisionchart.png
Marc
回答2:
I found another version of the algorithm:
https://mohammedatef.files.wordpress.com/2009/06/wcfbinding.jpg

回答3:
they have the speaks and the presentation on CD (if you participated). they usually sell the complete DVD after the conference ends.
I think a better question would be - to present your case and have one of the experts recommend (or read Juval Lowy book on wcf.)
I go for net.tcp every time (but i don't mix with non-dot net clients...) both on the same machine and outside.
This algorithm is a recommendation and not a must know...
来源:https://stackoverflow.com/questions/1828829/how-to-choose-a-wcf-binding