Normally there will be a WCF communication channel through which the client is sending request to server and server responds via that channel. When communication is not happening or when the channel remains idle, WCF will kill the channel.
we can manually configure the timeout for WCF channel. To do this, there are two ways
1. Increase the timeout configuration in your app.config.
2. Implement a heart beat mechanism which will send request to some methods at server side and ensure that some communication is happening in the channel and channel timeout never happens.
Increase the timeout configuration in your app.config
Change your "receiveTimeout" configuration in your app.config at server side to
Here the value given is the max value possible.