Home > DeveloperSection > Interviews > What is the appSettings Section in the web.config file?

Posted on    September-01-2014 11:28 PM

 ASP.Net ASP.Net 
 1 Answer(s)
  808  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    September-01-2014 12:00 AM

The web.config file sets the configuration for a Web project. The appSettings block in configuration file sets the user-defined values for the whole application.

For example, in the following code snippet, the specified ConnectionString section is used throughout the project for database connection:



<add key="ConnectionString" value="server=indiabixserver; pwd=dbpassword; database=indiabix" />


Don't want to miss updates? Please click the below button!

Follow MindStick