How to keep ASP.NET assemblies in AppDomain alive?

后端 未结 3 1539
情深已故
情深已故 2020-11-27 12:00

Scenario: I\'ve an n-Tier enterprise ASP.NET application deployed using Web Deployment Projects. All tiers produce independent assemblies that is consumed b

3条回答
  •  暖寄归人
    2020-11-27 12:33

    I wrote a little C# console application that keeps my 4 sites alive every 10 mins via windows task scheduler. Life is once again good. We do not run the app from 2-5am just so the serves can do any cleanups of memory, if it even matters. for our sites there is rarely anyone on at those hours anyway.

提交回复
热议问题