echo ""; echo ""; echo ""; echo ""; if(!is_admin){echo "";} » WCF服务运行一段时间后客户端无法连接WCF服务的解决办法 仲子说

2010-08-10

WCF服务运行一段时间后客户端无法连接WCF服务的解决办法

Posted in .NET at 22:11 Author:仲远

标签:

Windows Communication Foundation (WCF)?Microsoft????????????????????????.NET Framework 3.5???????????????????????????????????????????????????

?????WCF????Web????????????????????????API?????????????????????API??????WCF?????????????????????????????

???WCF???????????????WCF???????Client??????????WCF?????????????????????WCF Client????Web????????WCF???????Timeout??????WCF????????WCF???????

?????????????????????????????“We were creating instances of the Service Reference proxies to the WCF service but we never called Close() on the proxy. ”??????????????????WCF????????????????????????WCF??????????????????????????????????JDBC???????????????????????JDBC????????????????????

????:

??1)????????????????????????.???Close()??,????????????(???10??)??????.???????????????.

??2)??????????????????,???????.??????:

??<serviceThrottling maxConcurrentCalls=”20″ maxConcurrentSessions=”20″ maxConcurrentInstances=”30″ />

??:
maxConcurrentCalls ??????????16??
maxConcurrentSessions ?????????????PerSession???????10
maxConcurrentInstances??????????26

本文可以自由转载,转载时请保留全文并注明出处:
转载自仲子说 [ http://www.wangzhongyuan.com/ ]
原文链接:

Leave a Comment

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
Click to hear an audio file of the anti-spam word