9.5. Deploying with Visual Studio

Visual Studio aims to simplify web application deployment in the same way it simplifies the task of designing rich web pages. Although you need to understand how IIS works in order to manage virtual directories effectively (and fix the inevitable configuration problems), Visual Studio includes features that integrate with IIS and allow you to create virtual directories without leaving the comfort of your design-time environment.

Visual Studio has three key deployment-related features:

  • You can create a virtual directory when you create a new project.

  • You can use the Copy Web Site feature to transfer an existing website to a virtual directory.

  • You can use the Publish Web Site feature to compile your website and ...

Get Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional, Second Edition now with O’Reilly online learning.

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