Vs 2005 Asp.net-无需调试即可将Vs2005 Asp.net代码部署到生产服务器 [英] Vs 2005 Asp.net-Deploying Vs2005 Asp.net code to Production server without Debugging

查看:100
本文介绍了Vs 2005 Asp.net-无需调试即可将Vs2005 Asp.net代码部署到生产服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


有没有任何方法可以将Asp.net代码部署到生产服务器而无需调试.
我更改了一行代码,然后又将整个已调试的代码再次移至生产服务器以使应用程序恢复正常工作,这很忙.任何人都可以帮助我对更改后的Web表单进行简单部署.谢谢inadvance !!

Hi,
Is there any way to deploy Asp.net code to Production server without Debugging.
I changed one line of code and it''s very hectic for me to move tho whole Debugged code again to Production server to make application back into work.Any body help me in doing simple deployment for changed webform only. Thanks inadvance!!

推荐答案

首先,它不应该被调试",应该被构建"或发布". .

情况1:如果您之前未发布代码,则表示您的产品服务器具有未发布的版本(这是一种不好的做法),您只需替换已编辑的Web表单即可.


第2种情况:如果prod服务器已经发布了代码,则除了替换整个发布的版本外,别无其他方法.

《为世界微笑》还没有达到可以一瞬间完成所有事情的阶段,
否则就没有优化的地方了!


HTH
-Rajeev
First of all, it should not be ''debugging''.It should be either ''built'' or ''published''.

Case 1:If you have not published your code earlier, i mean your prod server is having the unpublished version(a bad practice),you may simply replace the edited webform.


Case 2: If the prod server had published code, there is no other way than to replace the entire published version.

Smile for the World has not reached a stage where everything can be done in a flash,
or there would be nothing to optimize !!


HTH
-Rajeev


这篇关于Vs 2005 Asp.net-无需调试即可将Vs2005 Asp.net代码部署到生产服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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