AppSettings Section

Describe the appSettings Section which contains in a web.config file?

E

Expert

Verified

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

Like, the specified ConnectionString section is used during the project for the database connection:

<configuration>

<appSettings>

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

</appSettings>

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.