.NET WCF The underlying connection was closed
Recently, I spent a few hours solving an issue with sample WCF (Windows Communication Foundation) where my connection from client was closed after the result was received. The error message was following: The underlying connection was closed: The connection was closed unexpectedly. There are plenty of blogs explaining how I have to change the client and server configuration (maxRequestLength, maxBufferSize