customize serialization in csla

customize serialization in csla

Old forum URL:

tonylife posted on Thursday, November 10, 2011


We are using csla and we like it very well.

One thing we want to improve is the performance of our app. Our silverlight client currently serializes huge business object and children objects, and then send it to server side every time even we just changed one small property, which slows down the app. Is there a way we can customize serialization in csla, for example, write our own json serializer instead, to pass limited data between client and server in different scenario?





RockfordLhotka replied on Thursday, November 10, 2011

This has been discussed recently on another thread, and on Facebook.

Version 4.3 will allow you to provide your own ISerializationFormatter implementation. Writing one of these isn't easy, and there are a lot of restrictions - like that it must provide equivalent functionality to MobileFormatter at a behavioral level.

Version 4.3 will also include a new CslaFormatter, which is more efficient than MobileFormatter.

Copyright (c) Marimer LLC