Configuring Server Environments for Web Deployment
by Jason Lee
This tutorial will show you how to set up server environments to support one-click, or automated, website deployment and publishing in various different scenarios. The tutorial includes topics to walk you through completing various tasks, like configuring a web server to support specific approaches to deployment and setting up a Web Farm Framework (WFF) server farm, together with scenario-based overviews that provide higher-level end-to-end guidance.
The tutorial uses the Fabrikam, Inc. deployment scenario described in Enterprise Web Deployment: Scenario Overview as a reference point for examples and network infrastructure.
For an Italian translation of these tutorials, visit http://www.lucamorelli.it.
This tutorial includes these topics:
- Choosing the Right Approach to Web Deployment
- Scenario: Configuring a Test Environment for Web Deployment
- Scenario: Configuring a Staging Environment for Web Deployment
- Scenario: Configuring a Production Environment for Web Deployment
- Configuring a Web Server for Web Deploy Publishing (Remote Agent)
- Configuring a Web Server for Web Deploy Publishing (Web Deploy Handler)
- Configuring a Web Server for Web Deploy Publishing (Offline Deployment)
- Configuring a Database Server for Web Deploy Publishing
- Creating a Server Farm with the Web Farm Framework
- Configuring Deployment Properties for a Target Environment
The first topic, Choosing the Right Approach to Web Deployment, describes the main approaches you can use to publish web applications by using the Internet Information Services (IIS) Web Deployment Tool (Web Deploy) 2.0. It also identifies the scenarios that map to each approach. From here, each scenario topic provides a high-level overview of the tasks you need to complete and identifies the topics you'll need to work through to help you complete these tasks.
If you're using the split project file approach described in Understanding the Build Process to build and deploy your solution, the final topic, Configuring Deployment Properties for a Target Environment, describes how to configure environment-specific project files for deployment to different destination environments.
This tutorial focuses on how to use these products and technologies to support web deployment:
- IIS 7.5
- Web Deploy 2.x
- WFF 2.x
- IIS Web Management Service (WMSvc)
The tutorial also touches on the use of Windows Server 2008 R2, SQL Server 2008 R2, ASP.NET 4.0, and ASP.NET MVC 3.
Other Tutorials in This Series
This forms part of a series of five tutorials on enterprise-scale web deployment. These are the other tutorials in the series:
- Deploying Web Applications in Enterprise Scenarios. This introductory content provides the contextual background for the tutorial series. It describes the tutorial scenario, and it illustrates how the tasks and walkthroughs described throughout the series fit into a broader Application Lifecycle Management (ALM) process.
- Web Deployment in the Enterprise. This tutorial provides a conceptual introduction to Microsoft Build Engine (MSBuild) project files, the Web Publishing Pipeline, Web Deploy, and other related technologies. It explains how you can use these tools together to manage complex deployment processes.
- Configuring Team Foundation Server for Web Deployment. This tutorial describes how to configure Team Foundation Server (TFS) to support various deployment scenarios, including automated deployment as part of a continuous integration (CI) process and manually triggered deployments of specific builds.
- Advanced Enterprise Web Deployment. This tutorial describes how to accomplish various more advanced deployment tasks, like customizing database deployments for multiple environments, excluding files and folders from deployment, and taking web applications offline during the deployment process.