9.4. Deploying a Simple Site
You now know enough to deploy an ordinary ASP.NET website. All you need to do is follow these two simple steps:
Create the virtual directory on the web server.
Copy the entire site (including subdirectories) to the virtual directory.
How you transfer these files depends on the Internet hosting service you're using. Usually, you'll need to use an FTP program to upload the files to a designated area. However, if both your computer and the web server are on the same internal network, you might just use Windows Explorer or the command prompt to copy files.
If you're using a commercial web host, the virtual directory will already be created for you, and you'll simply need to transfer the files.
Before you transfer your ...
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.