Friday, April 12, 2013
Where do you usually store application and user settings?
I would like to quote myself from http://www.devexpress.com/issue=Q488085 as I believe that many other XAFers will be interested in this discussion:
"There are several good ways to store settings in XAF:
1. Use a persistent singleton class
2. Use the Application Model
For instance, you can implement a custom model extension that will hold the value and then create another element that will have a list of the first elements. Of course, the application model can be physically stored in the database, if required.
4. Use any other solution you would use for the same task in a regular non-XAF application."
Personally, I think that #1 and #2 are good.
Feel free to leave comments if I missed some cool places or ways to store settings;-)