.netCoders Contact Us
Search:

Deployment

Visual Studio.NET features a Copy Project utility to help you deploy your applications from within the IDE. Alternatively, you can use a Setup Program to create an a windows installer program for your web application. The Copy Project menu item is active when you have a web project open and selected in the Solution Explorer window. From the Project menu at the top, select Copy Project. This will open the Copy Project dialog box.

Indicate the destination URL. If you are using Frontpage extensions, VS.NET will try and connect to this URL. Otherwise, if you are using the File Share method, the preferred method of web access in Visual Studio.NET, indicate the path where you want to copy the site. If you are deploying to a live site, select to copy "Only files needed to run this application". This will not copy source code (eg. .cs code-behind files). If you want to deploy the source code of your web project as well, select one of the other options.