Returns a default System.ServiceModel.NetTcpBinding.
Declaring type: ServiceHelper
Namespace: Zyan.InterLinq.Communication.Wcf
Assembly: Zyan.Communication
Collapse/Expand Syntax
C#
public static Binding GetDefaultBinding ()
Return Value
Collapse/Expand Remarks
The System.ServiceModel.NetTcpBinding looks like this:

PropertyValue

  • System.ServiceModel.NetTcpSecurity.Mode">Security.Mode</see></strong><br /><see cref="F:System.ServiceModel.SecurityMode.None
  • System.ServiceModel.NetTcpBinding.MaxBufferSize
    System.Int32.MaxValue
  • System.ServiceModel.NetTcpBinding.MaxReceivedMessageSize
    System.Int32.MaxValue
  • System.Xml.XmlDictionaryReaderQuotas.MaxArrayLength">ReaderQuotas.MaxArrayLength</see></strong><br /><see cref="F:System.Int32.MaxValue
  • System.ServiceModel.Channels.Binding.OpenTimeout">OpenTimeout</see></strong><br />new <see cref="T:System.TimeSpan(0, 10, 0) = 10 Minutes
  • System.ServiceModel.Channels.Binding.CloseTimeout">CloseTimeout</see></strong><br />new <see cref="T:System.TimeSpan(0, 10, 0) = 10 Minutes
  • System.ServiceModel.Channels.Binding.SendTimeout">SendTimeout</see></strong><br />new <see cref="T:System.TimeSpan(0, 10, 0) = 10 Minutes