Print Page | Close Window

BOS with IIS when updating dll do I need to restart IIS ?

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=896
Printed Date: 11-Jun-2026 at 12:00am


Topic: BOS with IIS when updating dll do I need to restart IIS ?
Posted By: patrice
Subject: BOS with IIS when updating dll do I need to restart IIS ?
Date Posted: 23-Jul-2008 at 10:56am
Hi,

We use BOS with IIS.

When we updating our application we copying some some dll like Ideablade*.dll and other dll in the bin directory of IIS Server.
After updating, is-it necessary (or recommended) to restart IIS ?

thank you

Patrice



Replies:
Posted By: IdeaBlade
Date Posted: 24-Jul-2008 at 4:03pm
Here is an excerpt from the MSDN Library that answers your question in detail:
 
Application Restarts

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:
  • Adding, modifying, or deleting assemblies from the application's Bin folder.

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

  • Adding, modifying, or deleting the application's Global.asax file.

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

  • Adding, modifying, or deleting Profile configuration.

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

  • Adding, modifying, or deleting the application's Web.config file.

When an application restart is required, ASP.NET will serve all pending requests from the existing application domain and the old assemblies before restarting the application domain and loading the new assemblies.




Print Page | Close Window