Blogger :
meta-douglasp
All posts :
All posts by meta-douglasp
Category :
WSCF/WCF
Blogged date : 2005 May 26
[If you are just joining us, read DataContract
Projection, Part I & DataContract
Projection, Part II first.]
Some folks seem to be concerned about the clrType & clrAssembly attributes
that we emit in our XSD projection for DataContract.
Let me repeat something I stated in my previous post; Indigo does not use these attributes.
For those of you that think we are evil that is likely not going to be enough. ;-)
So what are those attributes for
Turns out the serialization engine that Indigo uses for DataContract types, the XmlFormatter,
has two modes: SharedContract (which Indigo uses) and SharedType (which Indigo
does not use).
SharedContract is the "share schema, not type" mode that will make the world a better
place.
SharedType is there for type-fidelity, if you need it -- from the serialization engine
-- not Indigo.
I wrote all about this last year: http://www.douglasp.com/CommentView.aspxguid=bff35b26-4739-4971-9a05-507e5aaddd7a