What is serialization in .NET? What are the ways to control
serialization?
Answers were Sorted based on User's Feedback
Answer / arijit mandal
Serialization is the process of converting an object into a
stream of bytes. On the other hand Deserialization is the
process of creating an object from a stream of bytes.
Serialization/Deserialization is used to transport or to
persist objects. 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 are converted to a stream of bytes. Which is then
written to a data stream. Upon the object's subsequent
deserialized, an exact clone of the original object is
created.
| Is This Answer Correct ? | 23 Yes | 0 No |
Answer / ragesh
When developing smaller applications that do not have a
database (or other formal storage mechanism) or data that
doesn't need to be stored in a database (such as the state
of a web application), you often still would like to save
the data for later retrieval. There are many ways to do
this, but many of them are subject to a lot of extra code
(work) and extra time spent debugging. With .NET, there is
now an easy way to add this functionality to your code with
only a few lines of easily tested code. This easy way is
called serialization.
| Is This Answer Correct ? | 7 Yes | 4 No |
what do you mean by table-per-type?
How to Redirect Tracing to a File
Give an example for authorization filters in an asp.net mvc application?
About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use ?
6 Answers Infosys, Microsoft, MMTS,
What is strong name and which tool is used for this ?
4 Answers Accenture, BirlaSoft,
Can you explain renderbody and renderpage in mvc?
how can you enhance the performance of entity framework?
What are the ways to show data grid inside a data grid for a master details type of tables?
What are Code Blocks in Views?
What's the access level of the visibility type internal ?
What is route config?
How large is the .net framework 3.0? Does this change make the release larger?