- Configuration file is used to manage various settings that define a website. The settings are stored in XML files that are separate from your application code.
- Generally a website contains a single Web.config file stored inside the application root directory. However there can be many configuration files that manage settings at various levels within an application.
- Configuration files help you to manage the many settings related to your website.
Some of the most frequently used configurations, stored conveniently inside Web.config file are:
- Database connections
- Caching settings
- Session States
- Error Handling
- Security
Different types of Configuration files
Machine.config: Server or machine-wide configuration file
Web.config: Application configuration files which deal with a single application
Machine.config: Server or machine-wide configuration file
Web.config: Application configuration files which deal with a single application
Configuration file looks like this:
No comments:
Post a Comment