Consider a situation where you need to edit one of the values.
If the value is specified in the web.config file, saving changes to this file will lead to the processing of the application, inconveniently throwing current users away. There is not much of a problem if your application is on an intranet that is only used during business hours (although you may get an angry call from a guy who has stayed up late). But potentially a problem on a public website with international users.
If the value is in the database, it will not affect the processing of the application in this way.
In any case, consider whether the values are cached in the application RAM (web.config is). Are the database values in the application variable or in the cache? If so, you may not know when the change will occur. If you do not want to restart the application.
And what other access and permissions should the appropriate administrators have to make to make changes? Someone must have access to the web server (s) in order to modify web.config or the database (and table) in order to change this.
DOK
source share