WCF 绑定查询 TCP VS HTTP [英] WCF binding query TCP VS HTTP

查看:33
本文介绍了WCF 绑定查询 TCP VS HTTP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您什么时候真正使用 TCP 作为绑定元素,什么时候使用 HTTP?我想了解场景和性能问题.

When do you actually use TCP as a binding element and when do you use HTTP? I want to know scenarios and performance issues.

推荐答案

TCP 必须比 http 更快.即使是 tcp 也更安全可靠.

TCP is must faster as compared to http. Even tcp is more secure and reliable.

请参考 http://msdn.microsoft.com/en-us/library/ms733769.aspx 了解更多详细信息.

Please refer http://msdn.microsoft.com/en-us/library/ms733769.aspx for more detailed information.

实际上选择绑定取决于很多因素,阅读以上文章会让您更深入地了解.

Actually choosing binding depends on many factors and reading above article will give you insight in more dept.

这篇关于WCF 绑定查询 TCP VS HTTP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆