.Net 2.0 load all .dll into cache when IIS starts

  • Thread starter Thread starter Charlie Hoo
  • Start date Start date
C

Charlie Hoo

Hello,

Could you tell me how to load all needed .dll into cache before user hits
the website, rather than that IIS loads needed .dll when users hit the
wbsite page?

Thanks a lot.
 
Something must hit the web site, either a user or a bot. IIS will begin
processing when the application start event is fired and will release the
cache when the application end event fires (approximately the same time that
the last session in the web times out). There's no other way to really
handle this except by having some bot that will hit the web site very x
minutes. Keep in mind, you don't always want the app in cache, you'll want
it to recycle so IIS can regain resources and improve efficiency.
 
Hello, Mark,

Thank you for your quick response. Could you also tell me how to load all
..dll(s) and pages when the first user hits the website(.Net 2.0) no matter
whether the .dll(s) are used for current page or not? In other words, all
pages and needed .dll(s) are loaded into cache for whole web application.

Thank you again for your help.

Charlie
 
Back
Top