【问题标题】:Does MonoTouch support the wcf nettcp binding?MonoTouch 是否支持 wcf nettcp 绑定?
【发布时间】:2012-09-13 06:34:51
【问题描述】:

在 Silverlight 中,它可以加载程序集 System.ServiceModel.Nettcp,但在 MonoTouch 中我找不到程序集。 MonoTouch 是否支持 WCF nettcp 绑定?

BinaryMessageEncodingBindingElement messageEncoding = new BinaryMessageEncodingBindingElement();
System.ServiceModel.Channels.TcpTransportBindingElement tcpTransport = new TcpTransportBindingElement();
CustomBinding netTcpBinding = new CustomBinding(messageEncoding, tcpTransport);

【问题讨论】:

    标签: .net wcf silverlight xamarin.ios nettcpbinding


    【解决方案1】:

    MonoTouch 不附带System.ServiceModel.Nettcp.dll 组件。

    这不是 Silverlight 2-4 的 Silverlight 核心 程序集的一部分(即 Moonlight 实施和交付)。

    注意:也许它是 Microsoft 允许开发人员重新分发的额外 SDK 程序集之一(即,它不是与 Silverlight 本身一起安装,而是与基于 SL 的应用程序 .xap 一起安装)。在这种情况下,您可能想用 MonoTouch 尝试这个组件,看看它是否有效(因为这种情况通常适用于 Moonlight)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2010-12-08
      • 2015-03-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-09-28
      相关资源
      最近更新 更多