Jeff-Lewis / codesmith

Automatically exported from code.google.com/p/codesmith
0 stars 0 forks source link

Binary Serialization Support #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We need to add support for old school binary serialization.

Would it be possible to implement custom binary serialization where it
actually uses the WCF serializer?

Original issue reported on code.google.com by ejsm...@gmail.com on 3 Sep 2009 at 3:31

GoogleCodeExporter commented 9 years ago
Not possible to use ISerializeable.  

We will add FromXml,ToBinary,FromBinary methods to make it easier to serialize.

Original comment by shannon....@gmail.com on 4 Sep 2009 at 3:51

GoogleCodeExporter commented 9 years ago
Some samples of how this should look:
<Entity> entity = <Entity>.FromXml(string xml);
<Entity> entity = <Entity>.FromXml(stream xml);

Session["EntityName"] = <Entity>.ToBinary();
<Entity> entity = <Entity>.FromBinary(Session["EntityName"]);

Original comment by shannon....@gmail.com on 4 Sep 2009 at 3:54

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 18 Sep 2009 at 4:36

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 30 Dec 2009 at 5:43

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 30 Dec 2009 at 6:04

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 30 Dec 2009 at 9:16