Wcf Serialize List Of Interfaces

Wcf Serialize List Of Interfaces

I got an object that has to inherit from a general interface as well as it has a list from that interface as property. Going to serialize it follows by problems, as.

The missing ingredient is the [Serializable] modifier on the class (in my case, my fields class). Quicken Qdf File Corrupted Cute. So while a List may be 'serializable' when named as a DataMember of a DataContract the members of the class are not serialized inspite of the fact that they are themselves serializable, such as a 'string' is serializable.

In my particular case the fact that the Serializable modifier causes all members to be serialized is of no real consequence since it is really a 'struct' with its sole purpose for existing is to hold the fields that I want serialized. It is kind of an intermediate class to hold just those things that I want on the wire anyway. I think that this satisfies the purist to a large degree. Mediafire Serge Gainsbourg Wiki. I am a purist in theory, and a pragmist because I get paid when it works. Thank you everyone, this has been an experience. How To Install Cccam on this page. List is indeed serialized, but the you insert isn't, or at least not automatically.