ASP.NET Configuration systems are extensible and application specific information can be stored and retrieved easily. It is a human readable file.
We need not restart the web server when the settings are changed in configuration file. In ASP.NET automatically detects the changes and automatically applies them to the running ASP.NET application.
We can use any standard text editor or XML parser to create and edit ASP.NET configuration files.
What Web.config file contains?
There are many number of important settings that can be stored in the configuration file. Some of the most frequently used configurations files which are stored conveniently inside Web.config file are:
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Benefits of XML-based Configuration files
What Web.config file contains?
There are many number of important settings that can be stored in the configuration file. Some of the most frequently used configurations files which are stored conveniently inside Web.config file are:
Configuration file looks like this