Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is serialization in .NET? What are the ways to control
serialization?

Answer Posted / guest

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. o 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. o 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

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between vb.net and vc#.net?

1209


Do you know what's the difference between .net and laravel?

1140


Please explain what is the difference between constants and read-only variables?

1131


What is .net environment?

1115


Is there any inbuilt tool or command provided by .NET to view the code inside the assembly?

1000


What is the difference between an abstract class and an interface?

988


Is .net 4.8 backwards compatible?

1021


What are the two main parts of the .net framework?

1075


Please explain what is the difference between a class and an object?

1052


Explain about Behavioral design pattern?

1096


What operating systems does the .net framework run on?

1009


How big is the datatype int in .net?

1096


Should I implement finalize on my class? Should I implement idisposable?

1010


What are the properties of ADO.NET?

1129


What are the deferred execution and the immediate execution in linq?

1018