Create Web Application or Virtual Directory in IIS


Keyboard:  SHIFT + ALT + N
Menu:  File -> New Web Site
Command:  File.NewWebSite
Versions:  2008,2010
Published:  12/28/2010
Code:  vstipEnv0058

 

Did you know you can create Web Applications and Virtual Directories in IIS from inside Visual Studio? 

 

Just go to File -> New Web Site and click on the Browse button:

image

 

 

Choose "Local IIS" and pick a web site you want to create the new item in:

image

 

 

In the upper-right corner of the dialog you will notice buttons:

image

 

 

One creates a Web Application:

image

 

 

The other a Virtual Directory:

image

 

You can pick which one you want to create and never have to leave Visual Studio.

Comments (0)

Skip to main content