Chapter 19. Deploying Your Web Site

WHAT YOU WILL LEARN IN THIS CHAPTER:

  • How to ease the deployment process through simple changes to your code and configuration

  • How to prepare your site for deployment by creating a copy using Visual Web Developer's built-in copy tools

  • How to install and configure a web server and your web site on your target machine

  • How to avoid common errors you may get when deploying a site

  • How to copy data stored in your SQL Server 2008 databases to the target server

Congratulations! The fact that you're reading this chapter probably means you now have a full-featured, database-driven ASP.NET web site that is ready for release into the wild. It's an exciting time for you and your project. Pretty soon your application will be used and judged by your target audience.

To make your web site accessible to users world-wide, you need to publish it to a production server that is connected to the Internet. What kind of server this is and where it is located depends on your own requirements and budget. You can host the site on a home server in your attic with a private Internet connection (as I do with http://imar.spaanjaars.com) or you can host it with an external (and often commercial) party with a direct connection to the Internet backbone.

Either way, some work needs to be done to get your site from its development location at C:\BegASPNET\Site to a location where it's accessible over the Internet.

This chapter deals with a few topics related to successfully deploying your ...

Get Beginning ASP.NET 4: in C# and VB now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.