开发者

How to recycle my asp.net web application in production server?

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开发者_Python百科 my asp.net web application in production server? Any ideas..


Just upload the new global.asax - the next time a visitor starts a new session, the app will call the new code automatically.


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜