J
John Kotuby
Hi all,
As I understand it, when an ASP.NET application ceases to be "live" in
server memory due to inactivity, that even if it is pre-compiled, upon the
first call to a page it does a final compile of a number of pages to machine
code.
In some cases this causes an unacceptable lag in performance for the first
user to the site, say early in the morning after there has been no activity.
I have heard that there are ways to cause a script to call a page when the
application closes, in order to keep that page and others in the same
folder/directory in machine code and responsive.
Can I initiate this action from the global.asax in the Application_End sub?
I am not sure exactly how making a "page call" from within that sub is
accomplished. Also what will happen if there is no user logged in to the
server console and therefore no user interface.
I want to avoid writing a Windows service to accomplish this task.
So, the base question is, how can I keep my application "live" and ready for
action?
Is the global.asax a good place to accomplish that?
If someone could point me to a good article on this, hopefully with an
example, I would be appreciate it.
Thanks...
As I understand it, when an ASP.NET application ceases to be "live" in
server memory due to inactivity, that even if it is pre-compiled, upon the
first call to a page it does a final compile of a number of pages to machine
code.
In some cases this causes an unacceptable lag in performance for the first
user to the site, say early in the morning after there has been no activity.
I have heard that there are ways to cause a script to call a page when the
application closes, in order to keep that page and others in the same
folder/directory in machine code and responsive.
Can I initiate this action from the global.asax in the Application_End sub?
I am not sure exactly how making a "page call" from within that sub is
accomplished. Also what will happen if there is no user logged in to the
server console and therefore no user interface.
I want to avoid writing a Windows service to accomplish this task.
So, the base question is, how can I keep my application "live" and ready for
action?
Is the global.asax a good place to accomplish that?
If someone could point me to a good article on this, hopefully with an
example, I would be appreciate it.
Thanks...