Configuring Key / Value Pairs for ASP.NET Applications in IIS 7.0設定キー/値のペアをasp.netアプリケーションを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.作業をする場合は、マネージコードアプリケーションでは、情報を保存する必要があるかもしれませんするアプリケーションとして使用されるキー/値のペアでは、アプリケーションのWeb.configファイルです。 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. 1 。 In IIS Manager, navigate to the level of the configuration hierarchy you want to manage. IISマネージャで、移動して、レベルの階層の構成を管理するしたいです。
2. 2 。 Access the Application Settings page by double-clicking the Application Settings feature.ページにアクセスするアプリケーションの設定]をダブルクリックして、アプリケーションの設定機能を使用します。
3. 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. 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.アプリケーション設定の追加]ダイアログボックスで、名前と値を入力して、アプリケーションの設定、と入力し、 [ 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.アプリケーション設定の編集]ダイアログボックスで、希望の名前と値を入力して、アプリケーションの設定、と入力し、 [ OK ]をクリックします。
• Remove a setting Click the setting you want to remove, and then click Remove. •を削除するに設定をクリックして設定を削除したい、と入力し、 [削除]をクリックします。 When prompted to confirm the action, click Yes.アクションを確認するメッセージが表示されたら、 [はい]をクリックします。
Written by magakos. magakos書かれた。 Read more great feeds at is source 続きを読む大きなフィードでは、ソース WEBSITE ウェブサイト
no comments コメントはありません . です。
Read more articles on 続きを読むの記事を IIS 7.0 IISの7.0 and および otherSoftware othersoftware . です。
- [+] Digg [ + ]いる : Feature this article :機能この記事は
- [+] Del.icio.us [ + ] del.icio.us : Bookmark this article :ブックマークこの記事
- [+] Furl [ + ]畳む : Bookmark this article :ブックマークこの記事















