Configuring asp.net web applications. Best practices
- by Andrew Florko
Hello everybody,
There is a lot of configurable information for a web-site:
UI messages
Number of records used in pagination & other UI parameters
Cache duration for web-pages & timeouts
Route maps & site structure
...
There are many approaches to store all this information also:
AppSettings (web.config)
Custom sections (web.config)
External xml/text files referred from web.config
Internal static class(es) of constants
Database table(s)
...
What approaches do you usually choose for your tasks & what approaches do you find unsuitable?
Thank you in advance!