Your best source of information and news about microsoft , vista and BIOS on the internet Sua melhor fonte de informações e notícias sobre microsoft, Vista e BIOS na internet

Vista ARTICLES Vista ARTIGOS TOP 50 TOP 50 Spyware Virus Vírus Spyware Vista SOFT Vista SOFT Vista HELP Vista HELP

Configuring Key / Value Pairs for ASP.NET Applications in IIS 7.0 Configurando Chave / Valor Pares para aplicações ASP.NET no 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. Quando você trabalha com aplicativos de código gerenciado, você pode precisar de armazenar as informações usadas por um aplicativo como chave / valor pares na aplicação do arquivo Web.config. Storing application settings in this way ensures that the stored values can be accessed from anywhere within the application. Aplicação neste armazenando configurações maneira garante que os valores armazenados podem ser acessados de qualquer lugar dentro do aplicativo. If you store application settings at the server or site level, multiple applications could access and use the same settings. Se você armazenar configurações de aplicativo no servidor ou site nível, múltiplas aplicações poderão acessar e usar as mesmas configurações. With this in mind, you can view and work with key/value pairs for applications by completing the following steps: Com isto em mente, você pode visualizar e trabalhar com a chave / valor pares para aplicações através do preenchimento dos seguintes passos:

1. In IIS Manager, navigate to the level of the configuration hierarchy you want to manage. No IIS Manager, navegue até o nível da hierarquia da configuração que você deseja gerenciar.

2. Access the Application Settings page by double-clicking the Application Settings feature. O acesso ao aplicativo na página Configurações, clicando duas vezes o recurso Application Settings.

3. In the main pane, you'll see a list of the currently defined key/value pairs. No painel principal, você verá uma lista dos atualmente definidas para chave / valor pares. Be sure to note whether the entry type is listed as local or inherited. Certifique-se de observar se o tipo de entrada é listado como locais ou herdadas. Local entries are configured at the level you are working with. Local entradas são configuradas no nível que você está trabalhando com. Inherited entries are configured at a higher level of the configuration hierarchy. Herdado entradas são configuradas a um nível mais elevado da hierarquia configuração.

4. Use the following techniques to work with application settings: Utilize as seguintes técnicas para trabalhar com configurações de aplicação:

• Add a setting Click Add. • Fazer uma configuração Clique em Adicionar. In the Add Application Setting dialog box, type the name and value for the application setting, and then click OK. Na caixa de diálogo Definir Aplicação Add, digite o nome e valor para a definição de candidatura e, em seguida, clique em OK.

• Edit a setting Click the setting you want to modify, and then click Edit. • Clique em Editar uma definição a definição que pretende modificar e, em seguida, clique em Editar. In the Edit Application Setting dialog box, type the desired name and value for the application setting, and then click OK. Na caixa de diálogo Edit Application Setting, digite o nome desejado e valor para a definição de candidatura e, em seguida, clique em OK.

• Remove a setting Click the setting you want to remove, and then click Remove. • Retire uma configuração Clique na definição que pretende remover e, em seguida, clique em Remover. When prompted to confirm the action, click Yes. Quando solicitado para confirmar a ação, clique em Sim. Popularity: 1% Popularity: 1%


Written by magakos. Escrito por magakos. Read more great feeds at is source Leia mais em grande feeds é fonte WEBSITE WEBSITE
no comments sem comentários . .
Read more articles on Leia mais artigos sobre IIS 7.0 O IIS 7.0 and e otherSoftware otherSoftware . .

Related articles Artigos relacionados

No comments Sem comentários

There are still no comments on this article. Ainda não há comentários sobre este artigo.

Leave your comment... Deixe o seu comentário ...

If you want to leave your comment on this article, simply fill out the next form: Se quiser deixar o seu comentário sobre este artigo, simplesmente preencha o seguinte formulário:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> . Você pode usar estes XHTML tags: <a href="" title="Avião"> <abbr title="Avião"> <acronym title="Avião"> <b> <blockquote cite=""> <code> <em> <i > <strike> <strong>.