SerializationHelper.FastSerialization

Posts   
 
    
simon831
User
Posts: 152
Joined: 19-Jan-2006
# Posted on: 04-Dec-2007 10:54:41   

Is there a reason Fast Serialization is off by default? It would seem something that you would always want on.

Is there a central place to set it, or do you set it before every adapter.fetch... ?

SerializationHelper.FastSerialization = SerializationOptimization.Fast;

Walaa avatar
Walaa
Support Team
Posts: 14952
Joined: 21-Aug-2005
# Posted on: 04-Dec-2007 11:23:34   

Is there a reason Fast Serialization is off by default? It would seem something that you would always want on.

People would debate on this simple_smile as in other people's opinion (not nessary mine) that the default should be the normal BinaryFormatter serialization.

Is there a central place to set it, or do you set it before every adapter.fetch... ? SerializationHelper.FastSerialization = SerializationOptimization.Fast;

This is a static property, you only need to set it once.