New Message on dotNET User Group Hyd

Question Of The Day !!!! -- (21-06-2005)

Reply
  Reply to Sender   Recommend Message 4 in Discussion
From: vamsum_kris

To serialize an object (which has <serializable()> tag declared) we have to use the IFormatter interface.
DotNet provides two classes for this purpose:
 
1) BinaryFormatter
2) SoapFormatter
 
both of them implement the IFormatter interface.
 
The BinaryFormatter is used to persist an object in binary form. this is used in most of the situations where portability is not an issue. BinaryFormatter is best used as it has good performance benifits and also the resulting bin file is smaller.
 
SoapFormatter is used in cases where the object has to persistant across different machines. Since the HTTP protocol best handles text data and also the XML is a standard used to transfer data, the object is persisted in XML format.
 
The major difference between these two is that BinaryFormatter saves all the member variables of a serializable class whereas SoapFormatter saves only the public member variables.
 

if u got any query feel free to contact me at [EMAIL PROTECTED]

View other groups in this category.

Click Here
Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes

To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to