On Wednesday, 7 October 2015 at 08:27:18 UTC, Kagamin wrote:
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.
Yepp, that's the point of SOA :-) We are in agreement.