简体   繁体   English

Asp.net网站发布

[英]Asp.net website Publishing

if i have a separate dll for each page on my server and that is working fine. 如果我对服务器上的每个页面都有一个单独的dll,并且工作正常。 if I make some changes in code behind file of a particular page say, xyz.aspx page. 如果我在特定页面的文件后面的代码中做了一些更改,例如xyz.aspx页面。 then I have to upload the dll of that particular page. 然后我必须上传该特定页面的dll。 and that refreshes the whole web application and all sessions and other values got disturbed in the application. 并且刷新了整个Web应用程序,所有会话和其他值在应用程序中都受到干扰。 Is there any way that uploading the xyz.dll (of page xyz.apsx) on refreshes the xyz.aspx and didn't disturb the whole web application. 有什么方法可以上传xyz.dll(页面xyz.apsx的页面)刷新xyz.aspx,并且不会干扰整个Web应用程序。

By default, dropping new assemblies into the vdir is going to cause a recycle to occur. 默认情况下,将新程序集放入vdir将导致回收。

This question... 这个问题...

What causes an application pool in IIS to recycle? 是什么导致IIS中的应用程序池回收?

... talks about what causes an app pool recycle. ...讨论导致应用程序池回收的原因。 This MSDN article... 此MSDN文章...

http://blogs.msdn.com/b/tess/archive/2006/08/02/asp-net-case-study-lost-session-variables-and-appdomain-recycles.aspx 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. 如您所见,此刷新是设计使然。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM