Answer the question
In order to leave comments, you need to log in
WCF refreshes the connection after 5 minutes. How to get around?
Given: WCF client on net.framework 4.5
Several connections are open through which calls are made. After 5 minutes (or a little more, since the current method call is expected to complete), the current connection becomes TIME_WAIT and a new one is created.
Is there a setting to get around this, or is it hardcoded into the WCF code?
Answer the question
In order to leave comments, you need to log in
The question is removed. There was an error in the software. After each call, the Close() method twitched.
Apparently, in this case, the built-in connection pool is used only for 5 minutes.
Dig into the endpoint settings
https://www.lybecker.com/blog/2010/10/14/wcf-timeouts/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question