部署后修改应用程序 [英] Modify application after Deployment

查看:72
本文介绍了部署后修改应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我有一点问题。将我的ASP.Net项目发布到我的服务器后,我必须在IIS中回收应用程序池。每当我修改代码时,我都会遇到编译错误,并且必须再次回收应用程序池。这是部署后应用程序的正常过程吗?

解决方案

每次修改应用程序时,应用程序池都会重新启动。

所以这是是正常的。


每当你更改.NET代码(你的VB或C#)代码然后建立你的网站(预编译应用程序)[/ edit]应用程序池已重置。每当您修改web.config文件时,都会重置应用程序池。


-Frinny


应用程序池是否应该自行重置?因为当我尝试在线访问修改后的页面时出现编译错误。所以我通常做的是打开应用程序池并手动刷新,重置回收它。然后我的申请工作。它应该是怎么回事?


是的它会重置自己。

如果你发布了错误说明的话可能有帮助.....

Hello Everyone,

I am having a little problem. After publish my ASP.Net project to my server I have to recycle the Application pool in IIS. Whenever I modify the code i get a compilation error and have to Recycle the application pool again. Is that the normal process for applications after deployment?

解决方案

Every time you modify the application the application pool is restarted.
So yes this is normal.

Whenever you make a change to the .NET code (your VB or C#) code [edit] and then build your website (precompile the application) [/edit] the application pool is reset. Whenever you modify the web.config file, the application pool is reset.

-Frinny


Should the application pool reset itself? Because I get a compilation error when I try to access the modified page online. So what I usually do is open the app pool and manually refresh,reset recycle it. Then my application works. Is that how it should be?


Yes it will reset itself.
It might help if you posted what the error says.....


这篇关于部署后修改应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆