Visual Studio 201(x) deployment overview

In Visual Studio .NET 2010 and higher, you can create either a Web Site Project or Web Application project.  Each project has its own advantages depending on your needs.  See this Web Application Project Vs Web Site article for a more detailed comparison.

This article will provide an overview and links to articles on how to deploy your application with each project type.

Web Site Project

You have 2 options to deploy with web site project:
  • Use "Copy Web Site" with FTP.
    • This method is ideal if you want to put the code files onto the server.
  • Use "Publish Web Site with FTP.
    • This method precompiles your application before deploying.
Web Site Project Knowledge Base articles:
How do I deploy a Visual Studio 2010 Web Site Project using Copy Website feature?
How do I deploy a Visual Studio 2010 Web Site Project using Publish Web Site feature?


Web Application Project

Using Web Application Project, you can either publish your web application using FTP or web deploy.
  • With FTP: all of your web site files will be copied using FTP.
  • With Web Deploy: your application will be packaged locally on your computer first and deploy using Web Deploy server technology.  See: http://www.iis.net/expand/WebDeployImportant: Web Deploy technology is only supported if your site is hosted on Windows 2008 (IIS 7.0) or Windows 2012 (IIS 8.0).
Web Application Project Knowledge Base articles:
How do I deploy a Visual Studio 2010 Web Application Project using FTP?
How do I deploy a Visual Studio 2010 Web Application Project using Web Deploy?

Article ID: 793, Created On: 3/29/2010, Modified: 9/19/2013