May 2004
Intermediate to advanced
888 pages
22h 31m
English
Often, you’ll need to store information into the configuration file that is not part of the standard sections. There are two places you can store information in the web.config file. One is in the <appSettings> section. The other is in your own custom section.
You can add custom entries to the web.config file. In fact, there’s a section specifically for customized application settings. This section is <appSettings>, and it occurs outside of the <system.web> section. A typical entry in this section is a connection string to a database. The following shows how this might appear in the <appSettings> section:
<configuration> <appSettings> <add key="ConnectionString" ...
Read now
Unlock full access