开发者

Making a WCF Singleton run for long periods

I have a WCF service that runs as a singleton in IIS. The issue with this service is that the worker process recycles in approx. 40 minutes.

Is it possible t开发者_JS百科o make the service run for long periods using IIS settings? If yes, please let me know some IIS settings. Or, is there another way to be followed to keep the WCF in IIS alive....


You might want to consider hosting the service as a Windows Service instead of IIS. You're kinda fighting the IIS on-demand instantiation lifecycle by configuring the service as a singleton.


You should set Idle timeout to 0 value in advanced settings for application pool

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜