Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
Why we use Serialization in asp.net ?
Posted
Comments
Tanuj Rastogi 1-May-14 10:33am    
Hundred of articles written for it, just google it.
Sergey Alexandrovich Kryukov 1-May-14 14:14pm    
You need to develop your reading skills. :-)
—SA
Maciej Los 1-May-14 16:00pm    
:laugh:

Before learning .NET serialization, you need to learn what it means and what are the general purposes: http://en.wikipedia.org/wiki/Serialization[^].

If you still cannot understand the purpose, think about this: during runtime, you create and modify certain objects in memory. What happens to them if you close the application? They disappear. But what if you need to open the application again and have the same objects you used to have before?

Similar thing is about networking. What is your application is located on more than one places on some network? How can you use the same shared objects? Remember that formally you are dealing with two separate processes, which are well isolated, even if you had them on the same computer.

—SA
 
Share this answer
 
v3
Comments
Maciej Los 1-May-14 16:02pm    
5ed!
Sergey Alexandrovich Kryukov 1-May-14 16:06pm    
Thank you, Maciej.
—SA
Antariksh Verma 2-May-14 1:15am    
Thats the clear and lucid Answer !!
Thanks :)
Sergey Alexandrovich Kryukov 2-May-14 2:18am    
My pleasure.
Will you accept the answer formally then (green "Accept" button)? — Thank you.
—SA
In simple terms serialization is process of convert an object type into stream of bytes. Read following post to clear your concepts.

Serialization[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900