Partilhar via


Add Location Dialog Box 

The Add Location dialog box enables you to add a new location configuration setting to your Web site. Configuration settings can be applied to specific resources by using a <location> tag with an appropriate path attribute. The path attribute can be used to identify a specific file or child directory to which unique configuration settings apply.

The Add Location dialog box appears when you click the Add button, which is on the Locations tab in the ASP.NET Configuration Settings dialog box.

To display the ASP.NET Configuration Settings dialog box from IIS Manager

  1. Open the Properties dialog box for the Web application.

  2. Click ASP.NET, click Edit Configuration, and then click Application.

Using the Add Location dialog box, you can:

  • Specify the index (key) of the locations item.

  • Specify the value of the location being added to the Location configuration list.

UI Elements

  • Index
    Specifies the index (key) of the locations item.
  • Location
    Specifies the value of the item being added to list. (For example, the path to a specific file or directory).
  • OK
    Applies the new location value you enter into the Location configurations box in the ASP.NET Configuration Settings dialog box. Closes the Add Location dialog box.
  • Cancel
    Closes the Add Location dialog box. No changes are written to the Location configurations box.

See Also

Reference

Locations Tab, ASP.NET Configuration Settings Dialog Box

Concepts

ASP.NET Configuration Overview