Configuration Block not Serializing properly.
-
I have a configuration class, FileMonitorConfig, that has a few string properties, and one ConnectionInfo property. The ConnectionInfo class in turn has a few string properties that describe a SQL Server connection. When I write the FileMonitorConfig object, the inner ConnectionInfo object does not get serialized. It always appears a an empty tag in the config file. Nothing in the literature indicates that only the top level of an object graph gets serialized, and the Serializable attribute on either class has no effect. Am I doing something wrong, or should I consider the provided Xml Serializer Transformer effectively useless and develop a custom transformer? The DJ's took pills to stay awakwe and play for seven days. - Jim Morrison, Black Polished Chrome.