This topic provides links to documentation resources about how to deploy (publish) ASP.NET web applications to IIS by using Visual Studio 2010, Visual Web Developer 2010, and later versions.
If you know a great blog post, stackoverflow thread, or any other link that would be useful, send us an email with the link.
Note
Many of these resources describe deployment features that are available only if you install a recent release of the Visual Studio Web Publish Update. Some of the features are available only in Visual Studio 2012 or Visual Studio 2013.
Overview Post for Web Deployment in VS 2010 (Vishal Joshi's blog). An older blog post but some of the Visual Studio 2010 resources it links to have information that is still relevant for Visual Studio 2012.
Finding hosting providers for an ASP.NET application
How to Deploy a Windows Azure Web Site. Explains options and provides links to resources for deploying web projects to Windows Azure Web Sites. Includes a section about deploying from Visual Studio.
Deploying an ASP.NET Web Application with SQL Server Compact using Visual Studio. This is an earlier version of ASP.NET Web Deployment using Visual Studio listed at the top of this section. Mainly useful now for information about how to deploy SQL Server Compact databases and how to migrate from SQL Server Compact to a full edition of SQL Server.
Package Once Publish Anywhere (Sayed Hashimi's blog). Introduces a NuGet package that automates the process of transforming the Web.config file for multiple destination environments, so that you can deploy one package to multiple servers. See also the PackageWeb video by Sayed Hashimi.
See also the following section.
Deploying a web application using a continuous integration (CI) process
How to Deploy a Windows Azure Web Site. Explains options and links to resources for deploying web projects to Windows Azure Web Sites. Includes a section about automating deployment from source control.
Team Foundation Build Customization Guide. Documentation by ALM Rangers on setting up Team Foundation Server covers web deployment and includes tutorials and videos.
SlowCheetah XML transforms from a CI server (Sayed Hashimi's blog). Explains how to use SlowCheetah, A Visual Studio add-in for transforming app.config and other XML files.
XDT (XML Document Transform) released on codeplex.com (.NET Web Development and Tools blog). Announces availability of the source code for the Web.config file transformation engine and lists some tools that use it.
Taking an Application Offline before Publishing (IIS.net site). Explains a feature built into Web Deploy 3.0 that automates handling of an app_offline.htm file. This feature does not work with custom app_offline.htm files.
See also Deploying a web application by creating and installing a web deployment package and Deploying a web application using a continuous integration (CI) process earlier in this page.
Deploying a database separately from web application deployment
How to Create an Intranet Site Using ASP.NET MVC (MSDN). Older walkthrough writen for Visual Studio 2010, does not reflect major changes in intranet project templates introduced in Visual Studio 2013.
Automating common deployment tasks that are not automated out of the box
The following resources provide documentation about Web Deploy, the IIS framework that Visual Studio uses to perform web application project deployment tasks. You can ask questions about Web Deploy in the Web Deployment Tool forum on the IIS.net web site.
Web Deployment Tool. Top-level table of contents node for Web Deploy documentation on the TechNet site. Includes useful reference information but most of the TechNet pages have not been updated for years.
Build end-to-end solutions in Microsoft Azure to create Azure Functions, implement and manage web apps, develop solutions utilizing Azure storage, and more.