I have made changes to my global.asax
file so i want to recycle my web application to make the changes work. How to safely recycle my asp.net web application in production server? Any ideas..
views:
35answers:
3
+1
A:
In IIS, you can recycle the Application Pool for your application.
In IIS 7: go into Application Pools, right-click your application's Application Pool and click 'Recycle...'.
If you're worried about not killing users' sessions, etc, then I'm not sure it's possible.
Bennor McCarthy
2010-09-01 05:13:39
@bennor user `@rockinthesixstring` comments worked perfectly
Pandiya Chendur
2010-09-01 05:18:11
No need to recycle the app pool.
Dienekes
2010-09-01 05:53:57
+2
A:
Just upload the new global.asax - the next time a visitor starts a new session, the app will call the new code automatically.
rockinthesixstring
2010-09-01 05:48:55
+1
A:
Directly upload the asax file over the server instance and it would work as expected.
A new AppDomain would be created when you upload the new global.asax file in the site and this would be used for any new requests arriving at the server and for existing requests the earlier version would remain active as lon as the session's active.
Dienekes
2010-09-01 05:52:32