Home > DeveloperSection > Interviews > What is AppSetting Section in “Web.Config” file?

Posted on    March-02-2012 8:44 AM

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

Arun Singh

Total Post:310

Posted on    March-02-2012 1:00 AM

Web.config file defines configuration for a webproject. AppSetting section is used to set the user defined values. For e.g.: The ConnectionString which is used through out the project for database connection.

<appSettings><BR><addkey="ConnectionString"value="server=xyz;pwd=www;database=testing" />

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

Follow MindStick