Local IIS Tab, Choose Location/Open Web Site Dialog Box

This dialog box enables you to create a new Web site, or open an existing one, on the local computer if it is running Internet Information Services (IIS). The dialog box is titled differently depending on whether you are creating or opening a Web site:

  • If you are opening an existing Web site, the dialog box is titled Open Web Site.

  • If you are creating a new remote Web site, the dialog box is titled Choose Location.

To access this dialog box when opening a Web site

  1. In Microsoft Visual Web Developer, click File and then click Open Web Site.

    The Open Web Site dialog box opens.

  2. Click the Local IIS tab.

To access this dialog box when creating a Web site

  1. In Visual Web Developer, click File and then click New Web Site.

    The New Web Site dialog box opens.

  2. Click Browse, and then click the Local IIS tab.

Note

If IIS is not installed on the local computer, the Local IIS tab will contain the error "IIS is not installed on this computer". If you are creating a Web site, you can alternatively click the File System tab to create a Web site that can be tested using the ASP.NET Development Server. For more information, see File System Web Sites.

Tasks

UI Elements

  • Select the Web site you want to open
    Using the tree view, navigate to the location where you want to open or create the Web site. You can create a new folder using the button in the upper-right corner that is identified by the Create New Folder ToolTip.

    Note

    The tree view will show a list of virtual Web servers defined by your IIS server, and allows you to choose one to open or add a Web application to.

  • Create New Web Application button
    This button is not labeled unless you pass the mouse pointer over the button. Clicking this button creates a new Web site under the folder currently selected in the tree view. The folder is automatically marked as an IIS application.

  • Create New Virtual Directory button
    This button is not labeled unless you pass the mouse pointer over the button. Clicking this button displays the New Virtual Directory Dialog Box, in which you can specify the alias and path of an IIS virtual folder. This allows you to create an IIS application that points to files you keep in an arbitrary folder.

  • Delete button
    This button is not labeled unless you pass the mouse pointer over the button. This button deletes the folder at the location highlighted in the directory structure in the Select the Web site you want to open window. Note that:

    • If you delete an IIS Web application where the files are stored under the Web root (typically inetpub\wwwroot), Visual Web Developer deletes the IIS metabase information for the application and the folders and files for that application.

    • If you delete a virtual directory, the virtual directory information is deleted from the IIS metabase, but the folders and files to which the virtual directory points are left intact.

  • OK button
    Clicking this button sends the URL you have constructed to the previous dialog box, where you can proceed with creating or opening the Web site.

  • Use Secure Sockets Layer
    Specifies that Visual Web Developer needs to run pages using the https:// protocol instead of http://.

    Secure Sockets Layer (SSL) is used for Web sites that need to transmit sensitive information between the browser and the Web server.

See Also

Concepts

Types of Web Sites in Visual Web Developer

Running Web Applications on Windows Vista with IIS 7.0 and Visual Studio

Reference

New Web Site Dialog Box

Other Resources

ASP.NET and IIS Configuration