I have faced the problem with the connection limited in WCF. My WCF service was hosted in IIS and my windows form application client connects to WCF. In the Windows_Closed event, I call the client.Close() method to notify the WCF service that "I quit" but in cases of my client crashed, the connection between my client and WCF service still exists for a time, I simulated 10 crashed time then my app did not work anymore.
And the question is, how to release the connection between WCF and crashed client? because the maxConnections of the server is limited and equal to 10 for example.
Thanks you!