I have precompiled my application but every 10 – 30 min it unloads then when the page is hit it takes a long time to load. How do I make the application stay compiled forever?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s not like the application is getting un-compiled, just that the worker process (and the app domain) is being unloaded from memory.
In your app pool settings in IIS, set the idle timeout for whatever time you need, or set it to never recycle due to idleness.