What is the appSettings Section in the web.config file?
Ask by Sumit Kesarwani
Updated 24 Sep 2020
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: