Firstly,
Global.asax can be used for a lot of things, not just variable declarations (although, i'm not sure you can declare variables in web.config either? you can put initialisation values in there, but you can't, for example, create database connection objects?). One thing i've used global.asax for before is to trap page requests for pages that don't exist. This allows you to have a 100% database driven website that doesn't rely on any actual page/file structure being in place.
Secondly,
You can update any of the pages within your website whilst people are using it. All of the .aspx files that contain your static HTML are updateale on the fly. As for the "code behind" parts, these (i believe) will force a restart if you put a new version of their DLL into the sites BIN directory. The only way i know of having updateable code behind is to put it all in the aspx/ascx files and have no "code behind". This is awkward though as the Visual Studio.Net IDE is not geared up for developing server side code in the same file as the HTML code.
Main Topics
Browse All Topics





by: sunnydsouzaPosted on 2003-10-12 at 19:20:38ID: 9537558
if a application is deployed on a web server. In my case its a .NET Application hosted on IIS. This application is currently being accesed by multiple users. I have to make some changes to the code of the existing application. For example Some updates, Deletes, Code modification etc. IS there an such feature in .NET wherin i can make changes to the existing application without shutting down the site?????