/// <summary> /// Default constructor /// </summary> public WcfEndPoint() { MaxArrayLength = ushort.MaxValue; MaxBytesPerRead = ushort.MaxValue; MaxDepth = ushort.MaxValue; MaxNameTableCharCount = ushort.MaxValue; MaxStringContentLength = int.MaxValue; CloseTimeout = new TimeSpan(0, 1, 0); OpenTimeout = new TimeSpan(0, 1, 0); ReceiveTimeout = new TimeSpan(0, 10, 0); SendTimeout = new TimeSpan(0, 1, 0); ByPassProxyOnLocal = true; UseDefaultProxy = true; MaxBufferPoolSizeBytes = 524288; MaxBufferSize = ushort.MaxValue; MaxReceivedMessageSize = int.MaxValue; Binding = WcfBindings.BasicHttp; }
/// <summary> /// Default constructor /// </summary> public WcfEndPoint() { MaxArrayLength = ushort.MaxValue; MaxBytesPerRead = ushort.MaxValue; MaxDepth = ushort.MaxValue; MaxNameTableCharCount = ushort.MaxValue; MaxStringContentLength = int.MaxValue; CloseTimeout = new TimeSpan(0, 1, 0); OpenTimeout = new TimeSpan(0, 1, 0); ReceiveTimeout = new TimeSpan(0, 10, 0); SendTimeout = new TimeSpan(0, 1, 0); ByPassProxyOnLocal = true; UseDefaultProxy = true; MaxBufferPoolSizeBytes = 524288; MaxBufferSize = ushort.MaxValue; MaxReceivedMessageSize = int.MaxValue; Binding = WcfBindings.BasicHttp; }