BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

ReBlogger Contents

Previous posts in WSCF/WCF

 
 
Page 17300 of 20233

DataContract Projection, Part II.V ;-)

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


Read comments or post a reply to : DataContract Projection, Part II.V ;-)
Page 17300 of 20233

Newest posts
 

    Email TopXML