Chapter 23. Deploying Web Applications

In the previous three chapters you learned to develop Web applications and Web services with ASP.NET. For all these application types, different deployment options exist. You can copy the Web pages, publish the Web site, or create an installation program. This chapter covers the advantages and disadvantages of the different options, and how to accomplish these tasks.

In this chapter, you learn about the following:

  • Internet Information Services (IIS)

  • IIS configuration

  • Copying Web sites

  • Publishing Web sites

  • Windows Installer

Internet Information Services

Internet Information Services (IIS) needn't be installed for developing Web applications with Visual Studio 2008 because Studio 2008 has its own Web server: the Visual Web Developer Web Server. This is a simple Web server that runs only on the local machine. On the production system, IIS is needed to run the Web application.

IIS is not available with Windows Vista Home Edition. On other editions, you can install IIS in the same way that you install other Windows components. In the Control Panel, click Programs. Here you can find a category Programs and Features with a link Turn Windows features on or off. Click this link. One of the features of Windows is Internet Information Services, which needs to be selected to install Internet Information Services. You can also ask your system administrator to install IIS on your system.

The ASP.NET runtime needs to be configured with IIS to allow it to run ASP.NET ...

Get Beginning Microsoft® Visual C#® 2008 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.