When we create objects in .NET Framework, they reside in memory as long as our program runs
.NET Framework Runtime takes care of all the details of creating and destroying objects in Memory.
2. When we create objects in .NET Framework,
they reside in memory as long as our program
runs
.NET Framework Runtime takes care of all
the details of creating and destroying objects
in Memory.
3. The process of storing object data in
different formats so that they can easily be
transferred or reused later is
called Serialization.
4.
5. Serialization is used for
Saving objects to disk
Transmitting objects across a network
Transmitting objects as parameters of
remote procedure calls
6. Binary format
XML documents
SOAP format (SIMPLE OBJECT ACCESS
PROTOCOL)
7. Once object is stored it can easily be
retrieved and constructed in the memory.
This process is called Deserialization.
8. SERIALIZATION IS DONE BY
System.Runtime.Serialization
Binary serialization IS Done by
System.Runtime.Serialization.Formatters.B
inary
9. Binary serialization uses binary encoding to
produce compact serialization for uses such
as storage or socket-based network streams.
10. In binary serialization, all members, even
those that are read-only, are serialized, and
performance is enhanced