Is Anything Holding you back?

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 7 01:27:16 PDT 2015


On Tuesday, 6 October 2015 at 16:38:06 UTC, Jan Johansson wrote:
> I know about that too, the KnownType is applied to types that 
> the DataContractSerializer (not the XmlSerializer) must be 
> aware of before it can serialize the type (you enlist the type 
> to the serializer). Thanks.

For a general purpose serialization it can make sense to support 
arbitrary types, but WCF is a communication technology that 
warrants contracts including and especially web-services that 
usually require full contract to be expressed in WSDL in order to 
be cross-platform.


More information about the Digitalmars-d mailing list