I have one WCF site that I’m managing and it started leaking memory, which ended up consuming up all server memory and stopped working. The change I made between the incident was that I changed from using service reference to using a class called WebServcieClinet that dynamically instantiating the web service connection. The reason why I introduced WebServiceClient… Continue reading How to prevent memory leak in WCF
Tag: wcf
How to throttle a section in WCF
If a WCF service internally connected to a legacy system which does not support multi threading, the WCF needs to be throttled. The easiest way to achieve this is to make the WCF works sequentially by setting this up not to work concurrently. By default, a WCF configured to process in multiple instances and concurrency… Continue reading How to throttle a section in WCF