Microsoft IIS 10.0 – Uploading a .NET web page

How to enable Remote Desktop on Windows Server 2019

In this recipe, we are going to upload website application pages. Website application pages are developed in .NET framework version 4. These website application pages will run from the VDapplicationpool virtual directory.

The website application pages have been developed in .NET framework version 2.0 for the virtualdirectory virtual directory.

Getting ready

To step through this recipe, you will need a running IIS 10.0 instance with a virtual directory created. You should also have administrative privileges.

How to do it…

  1. Open Server Manager on Windows Server 2016. Click on the Tools menu and open IIS Manager.
  2. Expand the IIS server ( WIN2016IIS). You will get all listed Application Pools and Sites. You will get three websites listed:,, and We have already created them.



  1. Expand under the sites, and you will see there are two virtual directories listed, VDApplication and virtualdirectory:
  1. We have to upload the version 4.0 website application to the VDApplication virtual directory and version 2.0 website application to virtualdirectory.
  2. We already have the website application pages we created before, but you may create your own to upload.
  3. Let’s move to uploading the website application pages. Click on the VDApplication virtual directory, go to the Actions panel, click on Explore, and you will get the virtual directory’s physical folder, as shown here:
  1. Copy your version 4.0 website application pages and paste them in the C:\WebSites\VDApplication\ folder.
  2. Now we have to click on virtualdirectoy and go to the Actions panel. Click on Explore, and paste them in the version 2.0 website application pages folder:
  1. Close both the virtual directory and the physical folder.
  2. Open IIS Manager, expand, and click on the VDapplication virtual directory. Go to the feature view, open the Default Document, and add default.aspx to the top. Repeat the same steps for virtualdirectory.

How it works…

We have two virtual directories, VDapplication and virtualdirectoy, already created. We uploaded the version 4.0 website application files to the VDapplication virtual directory and the version 2.0 website application files to virtualdirectory. We also made the Default Document entry for our default landing page.

Comments are closed.