What is AppSetting Section in Web.Config file in asp.net

Web.config file defines configuration for a web project. Using "AppSetting" section, we can define user-defined values (custom key value dictionary) like "service url, stop word, Max Connection, mail server, mail port etc, that will be accessible through configuration  manager class through out the project for any other purpose.


   <add key="connection1" value="server=tdsw008;database=ERM; uid=sa;pwd=********;"/>
   <add key="connectionSAP" value="server=;database=ACDB_PROD;uid=sa;pwd=********"/>
   <add key="ServerName" value="tdsw017"/>

Recent Article