How to create a SerializationBinder for the Binary Formatter that handles the moving of types from one assembly and namespace to another
问题 The context is as follows I want to refactor code by moving it around to different projects Some of this code comprises of serializable DTOs that are used to send and receive data across multiple endpoints If I move the code around, serialization breaks (therefore it is not backward compatible with older versions of my application) A solution to this problem is the SerializationBinder which allows me to "redirect" in a sense from one type to another. I therefore want to create a