WCF NetTcpBinding Proplem ?? [英] WCF NetTcpBinding Proplem ??

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

问题描述

大家好,

我是WCF的新手,我对 WCF中提供的不同类型的绑定.原因是大多数 互联网上的人们给出他们的概述而不是实际情况 在这里我们可以使用这些绑定.

我的问题是我们可以通过互联网使用 WCF NetTcpBinding 吗?

实际上,我正在开发一个需要通过Internet发布我的Web服务(WCF)的应用程序,可以通过使用WCF NetTcpBinding 绑定来实现.

并且可以有人告诉我WCF NetTcpBinding比其他绑定有什么好处.


请建议我.

Hi all,

  I am new in WCF i am totally in dilemma regarding the different type of binding given in WCF. the reason is that most of people over internet giving their overview not the actual scenario where we can use the these bindings.

  My question is that can we use WCF NetTcpBinding over internet or not ?

actaully i am working on an application where i need to publish my webservice (WCF) over internet is it possible by using WCF NetTcpBinding  binding. 
 

 and can anyone tell me what is the benefit of WCF  NetTcpBinding over  other bindings.
  

 please suggest me .

推荐答案

NetTcpBinding可以在Internet上使用,这没问题.但是,这不是正常"的Web服务.该服务仅适用于使用.net3.0或更高版本的客户端,但不适用于.net 2.0.该服务也将不适用于其他客户端(例如PHP).

如果要将服务公开为Web服务,则应使用basicHttpBinding.然后其他客户端可以使用该服务.
NetTcpBinding can be used over the internet, that is no problem. However, this is not a 'normal' webservice. The service will be available for clients using .net3.0 or higher, but not .net 2.0. This service will also not be available for other client (for example PHP).

If you want to expose you service as a webservice, then you should use basicHttpBinding. Other client then can use the service.


这篇关于WCF NetTcpBinding Proplem ??的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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