473,672 Members | 2,676 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1388
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.c om> wrote in message
news:et******** ******@TK2MSFTN GP12.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******@fitzm e.com> wrote in message
news:OI******** ******@TK2MSFTN GP09.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.c om> wrote in message
news:et******** ******@TK2MSFTN GP12.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.c om> wrote in message
news:%2******** ********@TK2MSF TNGP14.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******@fitzm e.com> wrote in message
news:OI******** ******@TK2MSFTN GP09.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.c om> wrote in message
news:et******** ******@TK2MSFTN GP12.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******@fitzm e.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.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.c om> wrote in message
news:%2******** ********@TK2MSF TNGP14.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******@fitzm e.com> wrote in message
news:OI******** ******@TK2MSFTN GP09.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.c om> wrote in message
news:et******** ******@TK2MSFTN GP12.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
15435
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? If not, when the SP is recreated (with the same name), does SQL use the execution plan from cache? Thank you in advance. Jack
5
2818
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 executed by the framework, e.g., exec TempResetTimeout @id = '1iucllii0f42ksvfg4zsajae00000001'
1
1176
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 code in a plain text file and just streamRead read the text then finally do a in-memory compilation, but what if the case was narrowed so that it must require to change codes in the .cs file and then "somehow" dynamiclly replacing the existing dll...
6
4555
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 restarts and all active sessions are terminated. This error is also described in detail here:...
7
3530
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 performs MySQL queries to a database. These queries are performed at regular intervals. Basically it is looking for fields that match certain criterias. Such fields are not present at all time. When the program finds such field, it then takes
3
2613
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 2003 Server, ServerA, running as a Web Server that uses ASP.NET. The default.aspx file tries to access a file in a share on another computer, ServerB. ServerA and ServerB are on the same domain and are both running Windows 2003 Server.
2
1498
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 behavior. How does rpms, determine which installation to update ? Is there a file somewhere ? I am running in to this on Fedora as well as CenOS. Thanks /J
44
8221
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 End Class now where would I properly dispose of this? In the finalize method? I am loading the data for the table in a subroutine that is executed at form load, of course all the commands tied to it are wrapped in using blocks, but
7
3101
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 millisecond with identical code and data. I'm guessing this is some sort of indexing issue and the code is below but I'm not sure it's relevant because . . . .. . . I dropped DB2.dbo.GetSchPaymentsTD and then recreated it (with identical code)...
0
8404
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8931
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8828
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8608
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6238
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5705
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4418
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2063
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.