Home > Net >  WCF method execution time is long, what can I do?
WCF method execution time is long, what can I do?

Time:03-05

WCF, the client calls to the server with a return value method, such as String DoWork (), the execution time is longer (already optimization), just 5 minutes, this kind of situation, how to deal with is better,
All overtime has been set for 30 minutes, or an error: System. TimeoutException: "send to.net. TCP://localhost: 9999/HeYueService requested action within the configured timeout (00:00:59. 9980050) did not receive a response, may have been assigned to the operation time is part of a longer timeout, this may be due to the service still cannot send a reply message processing operations or service, please consider increasing the operation timeout (convert channel/agents to IContextChannel and set OperationTimeout properties) and ensure the service can connect to the client,"



How to deal with this? There is no way, for variety
  •  Tags:  
  • C#
  • Related