I\'m using WCF in communication between a server and client (both written in C#).
In release-mode, the timouts should be set to ~20 seconds, but in debug mode I want to
You can create a second binding in the web.config and set a longer sendTimeout.
if (debug) { proxy = new MyClient("WSHttpBinding_MyLocal"); } else { proxy = new MyClient("WSHttpBinding_MyDev"); }
...