The difference between Web deploy and FTP deploy in Visual studio?

Recently I need to deploy our website into QA environment, I find that there are a lot of options in the deployment methods, including FTP and Web Deploy. Before, I often used FTP deployment, which would copy all the website files from Visual studio to the Server.

But this time, I noticed the Web deploy method. It also requires an account and password to upload the files. But what is the difference between the 2 methods? 在这里输入图像描述


Web deploy offers several benefits over FTP. Here's the sum up:

Web Deploy is faster than FTP. Web Deploy is secure. Web Deploy can apply transforms during deployment. Web Deploy integrates with Visual Studio 2010 and WebMatrix. Web Deploy is extensible.

You can read the full comparsion details here.


I used both, in my opinion:

Web deploy: take example, when you have many users in server, each user has 1 website, web deploy is for each user with each website -> I can't deploy my website to another folder of other user's website because i don't have permission.

FTP: like when you are the admin of server, you can deploy directly. With ftp, you can open explorer, pass the link: fpt://domain.com -> enter -> and then you can copy/paste seem like a local computer without FTP deploy in visual studio. But make sure the server open FTP connection here

链接地址: http://www.djcxy.com/p/14336.html

上一篇: 你如何断言在JUnit 4测试中引发了某种异常?

下一篇: Web部署和Visual Studio中的FTP部署之间的区别?