By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,144 Members | 818 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,144 IT Pros & Developers. It's quick & easy.

Do assemblies automatically unload when idle?

P: 1
I have a DLL assembly that my customers can use as a reference. I also have a Windows Service that they can use to access the same DLL on a different machine (or in another process) via .Net Remoting. The service is supposed to do the same thing that the DLL does. The people who originally coded the service had the service build the same source files directly into their service. Their concern about having the service reference the DLL instead was that the DLL will occasionally unload when idle, which makes the next call to it take longer because the service will need to reload the DLL assembly.

My question is: Is it true that the service will unload the DLL assembly when it has become idle, or will it stay loaded the entire time the service is running?
Sep 7 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.