The Appsettings section in WEB.CONFIG file.

By j Miracle

Explains the appsettings section in web.config file

Web.config file defines configuration for a web project. Using “AppSetting” section, we can define user-defined values. Example below defined is “Connection String” section, which will be used through out the project for database connection.

<Configuration>
<appSettings>
<add key="ConnectionString" value="server=xyz;pwd=www;database=testing" />
</appSettings>

The Appsettings section in WEB.CONFIG file.  (1760 Views)