Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
The ISerializer needs to be binary, not text-based #2
The existing ISerializer interface serializes form object to string, and deseralizes from string to object.
This basically prevents form using any serializer which do not produce strings, e.g. binary serializers (BinaryFormatter, protobufs etc). After all, not everyone wants to store their objects as JSON in Redis.
More than that, Redis does require binary values (byte), and StackExchange.Redis implicitly converts strings into byte. Might just as well this at the ISerializer level.
I have a pull request for this change if interested.