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 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.