Serialization in CSLA.NET

Serialization in CSLA.NET

Old forum URL: forums.lhotka.net/forums/t/12848.aspx


coding posted on Friday, March 13, 2015

hi

need some article on how the serialization process happens between client n server data portals while performing CRUD on editable BO and editable BO lists and what all events are involved in this from dev point of view ?

Also, would like to know how best can we use events like OnDeserialized and for what purposed this event is used .

ajj3085 replied on Saturday, March 14, 2015

Csla just uses standard .ne serialization, so anything you find on the internet applies.  The hooks allow you to plug into the process is you have a special need but if you're sticking to standard Csla base classes and use registerpropery / fieldmanager you shouldn't need to do anything.  the eBooks have more details on when you might need to hook into the process and why.

JonnyBee replied on Sunday, March 15, 2015

I also recommend the CSLA 4 EBooks.

CSLA. uses standard formatters in .NET but also has it's own MobileFormatter.

OnDeserialized may be used for custom serialization or to reestablish inter-graph references after deserialization. 

Copyright (c) Marimer LLC