What is serialization?

Showing Answers 1 - 2 of 2 Answers

Vipul Grover

  • Sep 17th, 2005
 

SERIALIZATION: It is the process of converting the objects into stream of bytes which is used for Web Services or Remoting. There are 2 types of serializers present

1 XML Serializer:- used for web services

2Binary Formatter:-used for remoting

Yoginder Sharma

  • Mar 19th, 2006
 

Above answer is correct but i add two more lines:

Serialization is the process of converting an object into a stream of bytes.

For example, you can share an object between different applications by serializing it to the clipboard. You can serialize an object to a stream, disk, memory, over the network, and so forth.

There are two separate mechanisms provided by the .NET class library - XmlSerializer and SoapFormatter/BinaryFormatter. Microsoft uses XmlSerializer for Web Services, and uses SoapFormatter/BinaryFormatter for remoting. Both are available for use in your own code.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions