object Serialization

A

AVL

Hi,
I'm new to .net. I need some info on serialization.

What is serialization? Why do we need it? Why objects need to be serialized
if they need to be stored in session or viewstate?
 
D

Daniel Fisher\(lennybacon\)

Hi AVL
What is serialization?
With serialisation you can save objects with their states (values of the
fields in the class) to an xml file and of course restore them to their
states when they were saved.
Why do we need it?
Maybe you like to save the state of an object ;-)
Why objects need to be serialized?
For example if you want to clone an object, serialization can be very
usefull.
If they need to be stored in session or viewstate?
No. I use filesystem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top