Your best source of information and news about Vista hardware, windows vista and microsoft on the internet

Vista ARTICLES TOP 50 Spyware Virus Vista SOFT Vista HELP

Configuring Key / Value Pairs for ASP.NET Applications in IIS 7.0


When you are working with managed code applications, you may need to store information used by an application as key/value pairs in the application's Web.config file. Storing application settings in this way ensures that the stored values can be accessed from anywhere within the application. If you store application settings at the server or site level, multiple applications could access and use the same settings. With this in mind, you can view and work with key/value pairs for applications by completing the following steps:

1. In IIS Manager, navigate to the level of the configuration hierarchy you want to manage.

2. Access the Application Settings page by double-clicking the Application Settings feature.

3. In the main pane, you'll see a list of the currently defined key/value pairs. Be sure to note whether the entry type is listed as local or inherited. Local entries are configured at the level you are working with. Inherited entries are configured at a higher level of the configuration hierarchy.

4. Use the following techniques to work with application settings:

• Add a setting Click Add. In the Add Application Setting dialog box, type the name and value for the application setting, and then click OK.

• Edit a setting Click the setting you want to modify, and then click Edit. In the Edit Application Setting dialog box, type the desired name and value for the application setting, and then click OK.

• Remove a setting Click the setting you want to remove, and then click Remove. When prompted to confirm the action, click Yes.Popularity: 1%


Written by magakos. Read more great feeds at is source WEBSITE
no comments.
Read more articles on IIS 7.0 and otherSoftware.

Related articles

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> .