-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 1.8
-
Component/s: None
-
None
-
None
-
Major Change
-
None
-
None
-
None
-
None
-
None
-
None
Currently, the default serialization mechanism ignores the [XmlIgnore] flag on attributes.
Taking this attribute into account should not be default behavior as there may be people using this for other things.
I believe there may be a workaround to this using conventions and also something is being worked on for 1.8, so any information on the workaround may be helpful to people looking into this.
The use case is that we have a large number of classes that we currently do serialize into Binary and use the XmlIgnore attribute to remove some of the properties. We want now add some additional serialization of the objects into Mongo.
- related to
-
CSHARP-623 DOCS: BsonClassMap.RegisterClassMap to support WCF DataContract/DataMember attributes
-
- Closed
-
-
CSHARP-279 Implement an IBsonSerializer for XmlDocument and XDocument
-
- Closed
-