---
title: "What is AppSetting Section in “Web.Config” file?"  
description: "What is AppSetting Section in “Web.Config” file?"  
author: "Anonymous User"  
published: 2012-03-02  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/1394/what-is-appsetting-section-in-web-config-file  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# 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>

## Answers

### Answer by Anonymous User

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>


---

Original Source: https://www.mindstick.com/interview/1394/what-is-appsetting-section-in-web-config-file

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
