malaikuangren

What is the purpose or drive to build thing like (xxx),How can it achieve the original goal of design?

2012年7月5日

IXmlSerializable With WCF---Data Transfer in Service Contracts

摘要: Types that implement theIXmlSerializableinterface are fully supported by theDataContractSerializer. TheXmlSchemaProviderAttributeattribute should always be applied to these types to control their schema.Caution:If you are serializing polymorphic types you must apply theXmlSchemaProviderAttributeto t 阅读全文

posted @ 2012-07-05 23:14 malaikuangren 阅读(1267) 评论(0) 推荐(0)
DataContract POCO Support---Data Transfer in Service Contracts

摘要: By default, theDataContractSerializerserializes all publicly visible types. All public read/write properties and fields of the type are serialized.You can change the default behavior by applying theDataContractAttributeandDataMemberAttributeattributes to the types and members This feature can be use 阅读全文

posted @ 2012-07-05 17:01 malaikuangren 阅读(591) 评论(0) 推荐(0)