473,406 Members | 2,710 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,406 software developers and data experts.

File changes which trigger Application restarts...

Here's the updated list of file changes which trigger Aplication restarts :

1. Adding, modifying, or deleting any source code file in any application folder ( *.cs, *.vb, etc. )

2. Adding, modifying or deleting global.asax or web.config.

3. Adding, modifying or creating any assemblies in the /bin folder

4. Adding, modifying, or deleting localization resources
from the App_GlobalResources or App_LocalResources folders.

5. Adding, modifying, or deleting source code files in the App_Code directory.

6. Adding, modifying, or deleting Profile configuration.

7. Adding, modifying, or deleting Web service references in the App_WebReferences directory.

8. Adding, renaming or deleting any directory.

....and, thanks to George Ter-Saakov :

9. You can make 15 (by default, configurable) changes to .aspx files without triggering
an application restart. After the 15th configurable change, the application will restart.

It doesn't matter whether the changes are to HTML or to code that is in <script runat=server>

I hope this list helps developers avoid unneeded application restarts due to one of the above reasons.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
Jun 27 '08 #1
0 1118

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

Similar topics

9
by: Lauren Quantrell | last post by:
Is there a way to create a text file (such as a Windows Notepad file) by using a trigger on a table? What I want to do is to send a row of information to a table where the table: tblFileData has...
1
by: davidw | last post by:
I am using Visual studio Enterprise Architecture now, I am not sure if that affects anything, but I found recently that the sessionid changes on every click recently, does anyone know which setting...
1
by: Pietro | last post by:
I've created another .config file (site.config) to avoid restarting when web.config is changed, but changes in this new .config file only take effect when the application restarts. I would like to...
3
by: John A Grandy | last post by:
In ASP.NET 1.1 and/or 2.0 ..... Is it possible to configure a web-app so that replacement of an .xml file ( physically located under the virtual dir root ) with a newer version of the file...
4
by: Matt Jensen | last post by:
Howdy I've got a rather strange issue occuring. I used forms based .NET authentication, although I'm also setting some session variables when people login. However, I've found when people use...
3
by: Karthik | last post by:
I have an application that creates and makes use of a table in tempdb. My problem is that I have a couple of triggers on this table that get dropped everytime SQL Server restarts (due to the fact...
1
by: noah.blumenthal | last post by:
I wrote a windows service in c# (applause) and now I want to add the ability to edit its settings. Basically this service checks an email account at certain intervals and forwards the emails to...
2
by: piola vago | last post by:
I'm making an application that monitor a particular file (not a directoy) and when trigger a change event it start a backup process of the changed file. I'm using FileSystemWatcher component. My...
7
by: mark | last post by:
I am writing a program that will be placed in the startup folder so that on login it executes, it also needs to delete itself so it creates a batch file which cleans up. After that it restarts the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.