wcf流传输分块
乐意与人交流学习。 ContractDescription contract = ContractDescription.GetContract(typeof(IMyServer)); EndpointAddress address = new EndpointAddress("net.tcp://localhost:8880/myserver"); NetTcpBinding binding = new NetTcpBinding(); binding.MaxReceivedMessageSize = 1024 * 1024 * 30; binding.ReceiveTimeout = TimeSpan.FromMinutes(5);
用户评论