c# - Casting Down Data Contract Objects -


I have found an object on my client which is coming from the class being sent on the WCF contract, I'm killing problems because this class is ending, looks like, and deserialization on the server side determines which object to create and generate, and since the object is only present on the client. / P>

I saw the KnownType attribute and tampered with the KnownType configuration section, but they all affect the server (receiving) side of the contract only.

What I have to do is generate derivative class and only the information of the base class is sent on the serialized and pipes, using the WCF. The use of casting simply does not change the type of object, and it is still serialized.

It seems that the known type of mechanism is somewhat backwards, is there any way to handle it from the client side?

Regards

Tristan


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -