Re: What file changes "restart" an ASP.net 2.0 application?
- From: "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx>
- Date: Thu, 20 Sep 2007 11:48:18 -0400
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_GlobalResources or App_LocalResources 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_WebReferences 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" <centraso@xxxxxxxxxxxxxxxx> wrote in message news:e6C9RG5%23HHA.700@xxxxxxxxxxxxxxxxxxxxxxx
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
.
- References:
- What file changes "restart" an ASP.net 2.0 application?
- From: Brian Simmons
- What file changes "restart" an ASP.net 2.0 application?
- Prev by Date: Re: Page works in IDE but not Compiled (VS2005)
- Next by Date: Use of class function
- Previous by thread: What file changes "restart" an ASP.net 2.0 application?
- Next by thread: RE: What happened to client side code???
- Index(es):
Relevant Pages
|
Loading