构建包后进行Web部署的最佳实践 [英] Best Practice for web deployment once package is built

查看:64
本文介绍了构建包后进行Web部署的最佳实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我不确定这是否是提出这个问题的正确位置,但我想知道将Web包部署到服务器的最佳做法是什么。


我们正在使用TFS构建我们的部署包。现在,我想在构建之后知道我们应该将整个包移动到stage / prod服务器,还是只需要部署添加或修改的文件。

we are using TFS to build our deployment package. now, I want to know after build should we move the whole package to stage/prod server or we just have to deploy the files which are added or modified.


例如,如果某些aspx文件已被修改或某些新功能被添加到后面的页面代码中,我是否应该将这些aspx文件与修改后的dll一起部署,或者最好推送整个网站。

For example if some aspx files have been modified or some new function is added to a page code behind, should I just deploy those aspx file along with modified dll or it is better to push the whole web site.


谢谢!

推荐答案

<嗨Maryam_Sh,

Hi Maryam_Sh,

本论坛讨论Visual Studio WPF / SL Designer,Visual Studio Guidance Automation Toolkit,开发人员文档和帮助系统和Visual Studio编辑器。

This forum is discuss Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

根据您的描述,您希望将Web部署包部署到服务器。请参阅以下链接中的
Web部署包部分。希望它可以帮到你。

According to your description, you want to deploy your web deployment package to server. Please refer to the Web Deployment Packages part in following link. Hope it can help you.

https://msdn.microsoft.com/en-us/library/dd394698%28v=VS.100%29.aspx#web_deployment_packages

此外,您的问题与Web部署有关,而与VS IDE问题无关。我建议你把你的问题发布到ASP.NET
配置和部署
论坛以获得更好的帮助。

In addition, your problem is related to Web deployment, not VS IDE issue. I suggest you post your problem to ASP.NET Configuration and Deployment forum for a better help.

最好的问候,

Weiwei

Best Regards,
Weiwei

这篇关于构建包后进行Web部署的最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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