Adding Custom Application Settings : Introduction « Configuration « ASP.NET Tutorial






File: Web.config

<configuration>
  <appSettings>
    <add key="welcome" value="Welcome to our Web site!" />
    <add key="copyright" value="Copyright (c) 2007 by the company" />
  </appSettings>
</configuration>








16.1.Introduction
16.1.1.Overview of Website Configuration
16.1.2.Applying Configuration Settings to a Particular Path
16.1.3.The web.config File
16.1.4.Using Elements
16.1.5.Locking Configuration Settings
16.1.6.Lock the debug attribute, and only the debug attribute, of the element.
16.1.7.Adding Custom Application Settings
16.1.8.Placing Configuration Settings in an External File
16.1.9.Opening a Configuration File on a Remote Server