Tuesday, August 26, 2014

Creating configuration files for user supplied runtime parameters.

I you still want to use Serialization refer to MSDN pages and System.Xml.Serialization namespace.


Most properties of serialization can be controlled for example by attributes. For example DefaultValueAttribute will set element attribute or value to your desired default, so it will prevent errors when one of the config values is missing.


No comments:

Post a Comment