WCF Binding Performance

前端 未结 4 1966
慢半拍i
慢半拍i 2020-12-31 08:40

I am using basic HTTP binding.

Does anybody know which is the best binding in terms of performance as thats the key issue for our site?

4条回答
  •  囚心锁ツ
    2020-12-31 09:12

    Depends on where the services are located.

    If they're on the same machine, NetNamedPipeBinding should give you the maximum performance.

    Otherwise you'll have to choose depending on where they are located, if they have to communicate over the internet, interopability etc.

    Soledad Pano's blog has a good flow chart to help with choosing the appropriate bindings depending on situation

提交回复
热议问题