Author: Misfit Geek: msft | Posted on: 7/13/2009 6:13:48 AM | Views : 796

With lots of great feedback I?ve modified the ?SiteGlobalSettings? class I wrote about earlier. Though it still uses global static but the values are stored in a Global Resource File. This affords us the superior performance of the mechanism, keeps the ?editable? nature of the data, and keeps the simple API based initialization will facilitate multi-cultural implementation when we get there. (Cultural neutral settings can be stored in a single .resx where as language specific entries can be stored in language specific resource files.) So, I created a Resource file and a sample entry?..         The class code remains the same except for the property initialization. 1: public static class SiteGlobalSettings 2: { 3: static public...(read more) ...

Go to the complete details ...