How to choose a WCF binding?

落花浮王杯 提交于 2019-12-19 03:09:34

问题


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:

  1. If your WCF service will have non-.NET clients choose Http Soap
  2. If your WCF will have .NET clients in other machines choose Net Tcp
  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!