I have an application which stores some data in a SQL database in a binary field. These data are serialized from a .net object in traditional .NET application with binary serialization. I'm writing a .net core application that needs to interface with the above but reading the binary data and making sense of them.
Ideally I want to be able just to deserialize these data with .net Core as if I was running full .net framework. The data itself are not complex, they are just a Dictionary<string,string>
produced by the old asp.net profile provider.
I need to both read and write the binary data from .net core code.
I understand that support for BinaryFormatter is coming to .net core. In the meanwhile, is there anything not very complicated I can do right now to serialize / deserialize data with .net core as full .net framework would?
Looks like we have to write our own BinaryReader/BinaryWriter methods...
SCHEMA
CODE