What is serialization in .NET?
By in ASP.NET on Jul 31 2006
  • siva
    Jul, 2006 31

    Serialization can be defined as the process of storing the state of an object to a storage medium. During this process, the public and private fields of the object and the name of the class, including the assembly containing the class, are converted to a stream of bytes, which is then written to a data stream. When the object is subsequently deserialized, an exact clone of the original object is created.

    · Binary serialization preserves type fidelity, which is useful for preserving the state of an object between different invocations of an application. 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. Remoting uses serialization to pass objects “by value” from one computer or application domain to another.

    · XML serialization serializes only public properties and fields and does not preserve type fidelity. This is useful when you want to provide or consume data without restricting the application that uses the data. Because XML is an open standard, it is an attractive choice for sharing data across the Web. SOAP is an open standard, which makes it an attractive choice.

    • 0
  • srinivas pendyala
    Jul, 2006 31

    serielization is the convertion of objects into stream of bytes it is used in the working in remoting if we send the data with more Thia serielization will be used ok bye nivas

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS