File changes which trigger Application restarts...

J

Juan T. Llibre

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top