ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net Framework
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
What is serialization in .NET? What are the ways to control 
serialization?
 Question Submitted By :: Pvr
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is serialization in .NET? What are the ways to control serialization?
Answer
# 1
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 ?    1 Yes 2 No
Ragesh
 
  Re: What is serialization in .NET? What are the ways to control serialization?
Answer
# 2
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 ?    5 Yes 0 No
Arijit Mandal
 
 
 

 
 
 
Other Dot Net Framework Interview Questions
 
  Question Asked @ Answers
 
What is the difference between managed and unmanaged code? IBM5
Does the .NET Framework have in-built support for serialization?  1
what is an assembly?  10
Features in .net framework 1.1 ? Digital-GlobalSoft1
What is shared and private assembly ? Accenture2
What is MSIL, IL, CTS?  3
IS MS.Net platform independent or dependent? Ksb10
How the framework differentiate between 2 version dlls? eg Version 2.0 and 2.1 dlls are there. both are referred in the code.but we are using only name of that dll not the version number. in run time how the framework know which dll has to be referred? Deloitte1
Can u tell me differences which are introduced in .Net 1.1 and 2.0 and 3.0 and also in 3.5 ? by detailed? ABC1
If we write return statement in finally block will it works fine or throws any error? Kanbay5
What is the use of trace utility ?  1
How to add 'ASPNET.mdf' file into server explorer in visual studio 2005?  2
Can you draw and explain the .NET Farmework? Bosch2
what are partial classes? HP11
What is Global Assembly Cache (GAC) and what is the purpose of it?  2
How to ensure the credentials for WebService using Windows authentication Proteans1
WHICH IS THE BEST INSTITUTE FOR DOTNET REAL TIME PROJECT TRAINING Cap-Gemini17
What is boxing and unboxing? Kanbay2
What are the properties of Thread class?  1
Can you handle all button click events at once in a form? Give coding. Kanbay1
 
For more Dot Net Framework Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com