开发者

Asp.net website Publishing

开发者 https://www.devze.com 2023-01-28 18:23 出处:网络
if i have a separate dll for each page on my server and that is working fine. if I make some changes in code behind file of a particular page say, xyz.aspx page.

if i have a separate dll for each page on my server and that is working fine. if I make some changes in code behind file of a particular page say, xyz.aspx page. then I have to upload the dll of that particular page. and that refreshes the whole web application and all sessions and other values got disturbed in the application. Is there any way that uploading the xyz.dll (of page xyz.apsx) on refreshes the xyz.aspx and didn't disturb the wh开发者_开发技巧ole web application.


By default, dropping new assemblies into the vdir is going to cause a recycle to occur.

This question...

What causes an application pool in IIS to recycle?

... talks about what causes an app pool recycle. This MSDN article...

http://blogs.msdn.com/b/tess/archive/2006/08/02/asp-net-case-study-lost-session-variables-and-appdomain-recycles.aspx

... has an excellent write up about the subject.

As you can see, this refresh is by design.

0

精彩评论

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

关注公众号