How to set timeout of soapclient in .net core project
问题 I have to use a SOAP service in a .Net Core 2.0 project. I added service reference as described in following link: ( Missing link, 404 ) Service is working fine for some methods. However, some methods are taking long time (due to the operations service is doing) and in this case the program is throwing exception:"System.Net.Http.WinHttpException: The operation timed out" I tried to set the timeout value but it has no effect. MyService.MyServiceSoapClient Pr = new MyService.MyServiceSoapClient