I have a client and a server application which communicate over .NET 2.0 Remoting using binary serialization.
A small change has been made to one of the data transfer object's interface and the implementing class, well, an array of strings field was added.
If I to redeploy a new version of server application, will my old clients continue to work?
I would think they would, since nothing has been deleted from interface and direct implementation, but I am not sure.
It probably boils down to another question - is a binary deserialiser "clever enough" to
handle the situation like this by initializing a fields it fails to find data in the input binary stream to null, or is it going to break and to throw the exception?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…