[英]How to properly deploy to IIS 7
Right now I deploy the project to our production server using Visual Studio 10's ftp uploader. 现在我使用Visual Studio 10的ftp上传器将项目部署到我们的生产服务器。 It's very slow and I notice it doesn't remove deleted files (ie files deleted in the project) from the server once finished.
它非常慢,我注意到它一旦完成就不会从服务器中删除已删除的文件(即项目中删除的文件)。
How can I make this step more robust, automated and professional? 如何使这一步更加强大,自动化和专业化?
Take a look at WebDeploy. 看看WebDeploy。 Scott Hanselman did a great demo of it at PDC and you can watch it here: http://www.hanselman.com/blog/WebDeploymentMadeAwesomeIfYoureUsingXCopyYoureDoingItWrong.aspx
Scott Hanselman在PDC上做了一个很棒的演示,您可以在这里观看: http : //www.hanselman.com/blog/WebDeploymentMadeAwesomeIfYoureUsingXCopyYoureDoingItWrong.aspx
It's very robust and extensible. 它非常健壮和可扩展。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.