Deployment

In this chapter, you'll learn:
How to deploy your Web Forms applications to a server, and how to handle and log errors.

  1. Deploying a Web Site Project (C#)

    By Scott Mitchell|April 1, 2009

    This tutorial provides a high-level overview of the deployment process and is the first in a series of tutorials that explain how to deploy web site projects. (Code in this tutorial is in C#.)

  2. Determining What Files Need to Be Deployed (C#)

    By Scott Mitchell|April 1, 2009

    What files need to be deployed from the development environment to the production environment depends in part on whether the ASP.NET application was built using the Web Site Model or Web Applicatio...

  3. Deploying Your Site Using an FTP Client (C#)

    By Scott Mitchell|April 1, 2009

    The simplest way to deploy an ASP.NET application is to manually copy the necessary files from the development environment to the production environment. This tutorial shows how to use an FTP clien...

  4. Deploying Your Site Using Visual Studio (C#)

    By Scott Mitchell|April 1, 2009

    Visual Studio includes tools for deploying a website. Learn more about these tools in this tutorial.

  5. Common Configuration Differences Between Development and Production (C#)

    By Scott Mitchell|April 1, 2009

    In earlier tutorials we deployed our website by copying all of the pertinent files from the development environment to the production environment. However, it is not uncommon for there to be config...

  6. Core Differences Between IIS and the ASP.NET Development Server (C#)

    By Scott Mitchell|April 1, 2009

    When testing an ASP.NET application locally, chances are you are using the ASP.NET Development Web Server. However, the production website is most likely powered IIS. There are some differences bet...

  7. Deploying a Database (C#)

    By Scott Mitchell|April 23, 2009

    Deploying an ASP.NET web application entails getting the necessary files and resources from the development environment to the production environment. For data-driven web applications this includes...

  8. Configuring the Production Web Application to Use the Production Database (C#)

    By Scott Mitchell|April 23, 2009

    As discussed in earlier tutorials, it is not uncommon for configuration information to differ between the development and production environments. This is especially true for data-driven web applic...

  9. Configuring a Website that Uses Application Services (C#)

    By Scott Mitchell|April 23, 2009

    ASP.NET version 2.0 introduced a series of application services, which are part of the .NET Framework and serve as a suite of building block services that you can use to add rich functionality to y...

  10. Strategies for Database Development and Deployment (C#)

    By Scott Mitchell|April 23, 2009

    When deploying a data-driven application for the first time you can blindly copy the database in the development environment to the production environment. But performing a blind copy in subsequent...

  11. Displaying a Custom Error Page (C#)

    By Scott Mitchell|June 9, 2009

    What does the user see when a runtime error occurs in an ASP.NET web application? The answer depends on how the website's <customErrors> configuration. By default, users are shown an unsightly yellow screen proc...

  12. Processing Unhandled Exceptions (C#)

    By Scott Mitchell|June 9, 2009

    When a runtime error occurs on a web application in production it is important to notify a developer and to log the error so that it may be diagnosed at a later point in time. This tutorial provide...

  13. Logging Error Details with ASP.NET Health Monitoring (C#)

    By Scott Mitchell|June 9, 2009

    Microsoft's health monitoring system provides an easy and customizable way to log various web events, including unhandled exceptions. This tutorial walks through setting up the health monitoring sy...

  14. Logging Error Details with ELMAH (C#)

    By Scott Mitchell|June 9, 2009

    Error Logging Modules And Handlers (ELMAH) offers another approach to logging runtime errors in a production environment. ELMAH is a free, open source error logging library that includes features l...

  15. Precompiling Your Website (C#)

    By Scott Mitchell|June 9, 2009

    Visual Studio offers ASP.NET developers two types of projects: Web Application Projects (WAPs) and Web Site Projects (WSPs). One of the key differences between the two project types is that WAPs mu...

  16. Users and Roles On Production Website (C#)

    By Scott Mitchell|June 9, 2009

    The ASP.NET Website Administration Tool (WSAT) provides a web-based user interface for configuring Membership and Roles settings and for creating, editing, and deleting users and roles. Unfortunate...

  17. Deploying a Web Site Project (VB)

    By Scott Mitchell|April 1, 2009

    This tutorial provides a high-level overview of the deployment process and is the first in a series of tutorials that explain how to deploy web site projects. (Code in this tutorial is in Visual Ba...

  18. Determining What Files Need to Be Deployed (VB)

    By Scott Mitchell|April 1, 2009

    What files need to be deployed from the development environment to the production environment depends in part on whether the ASP.NET application was built using the Web Site Model or Web Applicatio...

  19. Deploying Your Site Using an FTP Client (VB)

    By Scott Mitchell|April 1, 2009

    The simplest way to deploy an ASP.NET application is to manually copy the necessary files from the development environment to the production environment. This tutorial shows how to use an FTP clien...

  20. Deploying Your Site Using Visual Studio (VB)

    By Scott Mitchell|April 1, 2009

    Visual Studio includes tools for deploying a website. Learn more about these tools in this tutorial.

  21. Common Configuration Differences Between Development and Production (VB)

    By Scott Mitchell|April 1, 2009

    In earlier tutorials we deployed our website by copying all of the pertinent files from the development environment to the production environment. However, it is not uncommon for there to be config...

  22. Core Differences Between IIS and the ASP.NET Development Server (VB)

    By Scott Mitchell|April 1, 2009

    When testing an ASP.NET application locally, chances are you are using the ASP.NET Development Web Server. However, the production website is most likely powered IIS. There are some differences bet...

  23. Deploying a Database (VB)

    By Scott Mitchell|April 23, 2009

    Deploying an ASP.NET web application entails getting the necessary files and resources from the development environment to the production environment. For data-driven web applications this includes...

  24. Configuring the Production Web Application to Use the Production Database (VB)

    By Scott Mitchell|April 23, 2009

    As discussed in earlier tutorials, it is not uncommon for configuration information to differ between the development and production environments. This is especially true for data-driven web applic...

  25. Configuring a Website that Uses Application Services (VB)

    By Scott Mitchell|April 23, 2009

    ASP.NET version 2.0 introduced a series of application services, which are part of the .NET Framework and serve as a suite of building block services that you can use to add rich functionality to y...

  26. Strategies for Database Development and Deployment (VB)

    By Scott Mitchell|April 23, 2009

    When deploying a data-driven application for the first time you can blindly copy the database in the development environment to the production environment. But performing a blind copy in subsequent...

  27. Displaying a Custom Error Page (VB)

    By Scott Mitchell|June 9, 2009

    What does the user see when a runtime error occurs in an ASP.NET web application? The answer depends on how the website's <customErrors> configuration. By default, users are shown an unsightly yellow screen proc...

  28. Processing Unhandled Exceptions (VB)

    By Scott Mitchell|June 9, 2009

    When a runtime error occurs on a web application in production it is important to notify a developer and to log the error so that it may be diagnosed at a later point in time. This tutorial provide...

  29. Logging Error Details with ASP.NET Health Monitoring (VB)

    By Scott Mitchell|June 9, 2009

    Microsoft's health monitoring system provides an easy and customizable way to log various web events, including unhandled exceptions. This tutorial walks through setting up the health monitoring sy...

  30. Logging Error Details with ELMAH (VB)

    By Scott Mitchell|June 9, 2009

    Error Logging Modules And Handlers (ELMAH) offers another approach to logging runtime errors in a production environment. ELMAH is a free, open source error logging library that includes features l...

  31. Precompiling Your Website (VB)

    By Scott Mitchell|June 9, 2009

    Visual Studio offers ASP.NET developers two types of projects: Web Application Projects (WAPs) and Web Site Projects (WSPs). One of the key differences between the two project types is that WAPs mu...

  32. Users and Roles On Production Website (VB)

    By Scott Mitchell|June 9, 2009

    The ASP.NET Website Administration Tool (WSAT) provides a web-based user interface for configuring Membership and Roles settings and for creating, editing, and deleting users and roles. Unfortunate...

ASP.NET Web Forms Books

Microsoft's Jon Galloway recommends these books for learning ASP.NET Web Forms:

Beginning ASP.NET 4: in C# and VB

Beginning ASP.NET 4: in C# and VB

by Imar Spaanjaars

Professional ASP.NET 4 in C# and VB

Professional ASP.NET 4 in C# and VB

by Bill Evjen, Scott Hanselman, Devin Rader

Pro ASP.NET 4 in C# 2010

Pro ASP.NET 4 in C# 2010

by Matthew MacDonald