Xml Settings

On Win32 an application can use a Settings class that allows runtime configuration, no more registry, actually back to an ini file but in xml,
now on the UsBizi I have an sd card - so the question is …
Has anyone played with sonme code to emulate a setting configuration file for Micro.NET, it comes with an xml reader and some of the code may need to be generated by hand but it would be nice to have…


  string title = Settings.Title;
  int parameter = Settings.MyParameter;

T4 could be used to generate the settings code: http://www.hanselman.com/blog/T4TextTemplateTransformationToolkitCodeGenerationBestKeptVisualStudioSecret.aspx

interesting - you learn something every day, Ill have a look

Interesting! I’m working on somethign else right now where this might come in handy.