WHAT IS APPSETTING SECTION IN “WEB.CONFIG” FILE?

Arun Singh

Total Post:310

Points:1550
Posted by  Arun Singh
 2228  View(s)
Ratings:
Rate this:
  1. Arun Singh

    Post:310

    Points:1550
    What is AppSetting Section in “Web.Config” file?

    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.

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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!