473,387 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

when is server recompilation done?

For a 2003 ASP.NET site, when is recompilation of the site on the server
done? Only after the site is updated, or every time there has been a lull
in visits and someone visits it for the first time?

Thanks.
Jan 4 '06 #1
4 1378
It happens when there's an update to the application, such as a change in
the web.config or one of the site's dlls. It also recompiles whenever the
application is loaded, which will happen when the app is recycled or the
first visit after the application has been unloaded due to inactivity.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP- FrontPage

"VB Programmer" <do**@emailme.com> wrote in message
news:et**************@TK2MSFTNGP12.phx.gbl...
For a 2003 ASP.NET site, when is recompilation of the site on the server
done? Only after the site is updated, or every time there has been a lull
in visits and someone visits it for the first time?

Thanks.

Jan 4 '06 #2
So, if there are no visits to the site for a few days, the FIRST person that
views the site is going to have to wait longer while it rejits? If so,
where can I change the "inactivity" definition?

Thanks!

"Mark Fitzpatrick" <ma******@fitzme.com> wrote in message
news:OI**************@TK2MSFTNGP09.phx.gbl...
It happens when there's an update to the application, such as a change in
the web.config or one of the site's dlls. It also recompiles whenever the
application is loaded, which will happen when the app is recycled or the
first visit after the application has been unloaded due to inactivity.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP- FrontPage

"VB Programmer" <do**@emailme.com> wrote in message
news:et**************@TK2MSFTNGP12.phx.gbl...
For a 2003 ASP.NET site, when is recompilation of the site on the server
done? Only after the site is updated, or every time there has been a
lull in visits and someone visits it for the first time?

Thanks.


Jan 4 '06 #3
You can't change this behavior and it's not a good idea to. When an
application is loaded into IIS, it takes memory, cpu, and disk resources. By
unloading the web site after a timeout period IIS and the web server are
able to optimize performance for the web server as a whole, and it also
helps the application as well and ensures that unused application resources
are collected. The application will be unloaded after a specified timeout.
This timeout is normally 20 minutes after the last hit on the web
application. You can stretch this in IIS under the application settings, but
it is not advisable to set it for too long as it will degrade performance
overall.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"VB Programmer" <do**@emailme.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
So, if there are no visits to the site for a few days, the FIRST person
that views the site is going to have to wait longer while it rejits? If
so, where can I change the "inactivity" definition?

Thanks!

"Mark Fitzpatrick" <ma******@fitzme.com> wrote in message
news:OI**************@TK2MSFTNGP09.phx.gbl...
It happens when there's an update to the application, such as a change in
the web.config or one of the site's dlls. It also recompiles whenever the
application is loaded, which will happen when the app is recycled or the
first visit after the application has been unloaded due to inactivity.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP- FrontPage

"VB Programmer" <do**@emailme.com> wrote in message
news:et**************@TK2MSFTNGP12.phx.gbl...
For a 2003 ASP.NET site, when is recompilation of the site on the server
done? Only after the site is updated, or every time there has been a
lull in visits and someone visits it for the first time?

Thanks.



Jan 4 '06 #4
Thanks Mark.
"Mark Fitzpatrick" <ma******@fitzme.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
You can't change this behavior and it's not a good idea to. When an
application is loaded into IIS, it takes memory, cpu, and disk resources.
By unloading the web site after a timeout period IIS and the web server
are able to optimize performance for the web server as a whole, and it
also helps the application as well and ensures that unused application
resources are collected. The application will be unloaded after a
specified timeout. This timeout is normally 20 minutes after the last hit
on the web application. You can stretch this in IIS under the application
settings, but it is not advisable to set it for too long as it will
degrade performance overall.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"VB Programmer" <do**@emailme.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
So, if there are no visits to the site for a few days, the FIRST person
that views the site is going to have to wait longer while it rejits? If
so, where can I change the "inactivity" definition?

Thanks!

"Mark Fitzpatrick" <ma******@fitzme.com> wrote in message
news:OI**************@TK2MSFTNGP09.phx.gbl...
It happens when there's an update to the application, such as a change
in the web.config or one of the site's dlls. It also recompiles whenever
the application is loaded, which will happen when the app is recycled or
the first visit after the application has been unloaded due to
inactivity.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP- FrontPage

"VB Programmer" <do**@emailme.com> wrote in message
news:et**************@TK2MSFTNGP12.phx.gbl...
For a 2003 ASP.NET site, when is recompilation of the site on the
server done? Only after the site is updated, or every time there has
been a lull in visits and someone visits it for the first time?

Thanks.



Jan 4 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: jackso95 | last post by:
Using SQL Server 2000. When does SQL flush or clear the procedure cache? I am dynamically creating and dropping stored procedures (SP). Does SQL clear the cache for the SP that has been dropped? ...
5
by: Jason Collins | last post by:
There are a number of stored procedures involved in sql server based session maintenance: - TempUpdateStateItemShort - TempResetTimeout - TempUpdateStateItemLong etc. These stored procs are...
1
by: NIan | last post by:
Hi, I have a question about having runtime recompilation of the asp.net web application dll file. so my scenario is having existing method dynamiclly . I know easier way is to I/O out those...
6
by: Martin Bischoff | last post by:
Hi, I'm creating temporary directories in my web app (e.g. ~/data/temp/temp123) to allow users to upload files. When I later delete these directories (from the code behind), the application...
7
by: Bernard Lebel | last post by:
Hello, I'm stumbled at a serious problem, and quite frankly getting desparate. This is a rather long-winded one so I'll try to get straight to the point. I have this Python program, that...
3
by: Jay-nospam | last post by:
Hi there, I am having trouble getting an ASP.NET web application to connect to another computer and passing the proper credentials and I hope someone can help me. I have a stand-alone Windows...
2
by: j_nwb | last post by:
HI I have multiple python installations. 2.2, 2.3, 2.4. When I install a new package (pygtk2) , it always install in python 2.3. I changed the /usr/bin/python to be 2.4 binary. Still the same...
44
by: Smokey Grindle | last post by:
I have a list box on my form, but I need to databind it to a data table that is a private member of the form's class... so I basically have Public Class MyForm priate m_MyTable as new datatable...
7
by: Peter Nurse | last post by:
Two (almost) identical SQL Server databases (DB1 backed up and restored to DB2 yesterday). DB2.dbo.GetSchPaymentsTD took 1.5 seconds (!) to execute DB1.dbo.GetSchPaymentsTD took less than a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.