re:
!Are there any other changes that restart the application?
Modifying the source code of your Web application will
cause ASP.NET to recompile source files into assemblies.
When you modify the top-level items in your application, all other assemblies
in the application that reference the top-level assemblies are recompiled as well.
In addition, modifying, adding, or deleting certain types of files
within the application's known folders will cause the application to restart.
The following actions will cause an application restart:
1. Adding, modifying, or deleting assemblies from the application's Bin folder.
2. Adding, modifying, or deleting localization resources
from the App_GlobalResou rces or App_LocalResour ces folders.
3. Adding, modifying, or deleting the application's Global.asax file.
4. Adding, modifying, or deleting source code files in the App_Code directory.
5. Adding, modifying, or deleting Profile configuration.
6. Adding, modifying, or deleting Web service references in the App_WebReferenc es directory.
7. Adding, modifying, or deleting the application's Web.config file.
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/
=============== =============== ========
"Brian Simmons" <ce******@newsg roup.nospamwrot e in message news:e6******** *******@TK2MSFT NGP05.phx.gbl.. .
Hi All,
I know that if you modify the web.config file or any file in the App_Code subfolder, that ASP.net 2.0 will "restart"
the application (i.e. clear out any sessions, etc...).
Are there any other changes that restart the application? Will modify a code-behind .cs/.vb which calls a class in
the App_Code folder restart the application?
I'm asking because occassionally I'll push some code out to production and it's not the web.config or a class in the
App_Code folder and it'll "restart" the application.
Thanks for any insight,
Brian