How to optimize class for viewstate

Posted by Jeremy on Stack Overflow See other posts from Stack Overflow or by Jeremy
Published on 2010-05-06T20:11:14Z Indexed on 2010/05/06 21:08 UTC
Read the original article Hit count: 213

If I have an object I need to store in viewstate, what kinds of things can I do to optimize the size it takes to store the object? Obviously storing the least amount of data will take less space, but aside from that, are there ways to architect the class, properties, attrbutes etc, that will effect how large the serialized output is?

© Stack Overflow or respective owner

Related posts about viewstate

Related posts about serialization