.NET
  Home arrow .NET arrow Binary and XML Serialization
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
.NET

Binary and XML Serialization
By: Ayad Boudiab
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 4
    2009-02-10

    Table of Contents:
  • Binary and XML Serialization
  • Binary Serialization
  • Binary Serialization continued
  • XML Serialization

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Binary and XML Serialization


    (Page 1 of 4 )

    Serialization is a useful process when you're dealing with objects and information. .NET lets you perform this process in several different ways, two of which will be covered in this article. Keep reading to get a better handle on what serialization is and how to use it effectively.

    Serialization

    Serialization is defined as the process of storing the state of an object to a storage medium. In other words, the object's bits and pieces are converted to some type of format and persisted (stored) somewhere.

    We serialize an object so we can re-create it at a later stage or make it sharable between application domains. As developers, we can write our own functions that store and retrieve the fields within a class.

    However, that amounts to a lot of code, and that is what the serialization classes save us from doing. Moreover, if you are not completely satisfied with the serialization functionalities, you can tap into the serialization process and provide your own additions. In .NET, there are three different ways to serialize an object:

    (1) Binary serialization

    (2) XML serialization

    (3) SOAP serialization

    In this article, we will discuss binary serialization and XML serialization. The details of the SOAP serialization are left to a future article.

    More .NET Articles
    More By Ayad Boudiab


     

    .NET ARTICLES

    - The Transformed XML Explorer in MFC
    - List Control and Property Grid with the MFC ...
    - Font, Shell and Masked Edit Controls for MFC
    - Color, Link and Image Editor Controls for M...
    - New Controls for MFC
    - The Windows Ribbon Framework
    - Markup Language for the Ribbon Framework
    - Visually Upgrade Your MFC Project
    - New Features for the Statusbar in MFC
    - Working with the Statusbar in MFC
    - Iron Speed Design v60 Review
    - Binary and XML Serialization
    - Using CrystalReportViewer to Display Crystal...
    - Creating Summary .Net Crystal Reports
    - More on Commands, Input and the WPF





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    Stay green...Green IT