Sreedhar Danturthi
Sreedhar Danturthi

Reputation: 7571

Serialized objects in view state

Hi i have been going through the documentation of viewstate. http://msdn.microsoft.com/en-us/library/ms227551(v=VS.85).aspx It was mentioned that objects that can be serialized are stored in viewstate. What is the meaning of serializing of objects ??

Upvotes: 0

Views: 2937

Answers (2)

Brandon Moretz
Brandon Moretz

Reputation: 7631

Serialization is the process of taking an object in it's current state and turning into a "data" representation, most commonly in binary or xml formats.

For more information check out:

http://en.wikipedia.org/wiki/Serialization

Upvotes: 1

Tony Casale
Tony Casale

Reputation: 1537

Serialization is the process of turning an object into a stream of bytes that can be stored somewhere or sent across the wire.

Specifically in .NET, you can make a class serializable by adding the [Serializable] (C#) or <Serializable> (VB) attribute to the class declaration.

Upvotes: 2

Related Questions