Question:

Xml serialization in asp.net??

by  |  earlier

0 LIKES UnLike

hey guys,

please tell me about xml serialization and deserialization ....

who worked with this concepts practically..with practical example....

pls dont copy and paste from internet..just tell any good example and practical usage(in example)...very much helpful to me...to many guys...

thanks in advance.. :)

 Tags:

   Report

1 ANSWERS


  1. Serialization is a process that turns an object or objects in memory into a stream of data that can be transmitted over a network or stored in a file. You can serialize into a number of different formats depending on what you need to do with the data. For example you can use binary serialization which makes a the data pretty compact, but it won't be human readable, or XML serialization for a more standard format that is human readable.

    There are a lot of places where serialization comes in handy. First it's a vital part of the remote connection technologies in .NET like web services and remoting. Both these technologies allow you to pass object back and forth to/from other processes. Before the objects can be sent they must be serialized.

    Another area where you could use serialization is to save information from a program. If the program allows the users to save what they are working on to a file you could handle this with serialization. You would create a structure of objects that contains all the data and settings that need to be saved, then serialize this object structure to a file. To reload you would reverse the process and de-serialize the objects.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.