Chapter 4

Serialization

 

 

 

COMPLETED PROJECT DOWNLOAD

What we have in this chapter?

  1. An Overview

  2. Serialization Formats

    Binary Serialization

    Controlling Binary Serialization

  3. C++ Binary SOAP Program Example

  4. C# Binary SOAP Program Example

  5. VB .NET Binary SOAP Program Example

  6. C++ Binary Socket Server Program Example

  7. Creating Shared C++ DLL Class

    C++ Binary Socket Client Program Example

  8. C# Binary Socket Server Program Example

  9. Adding C# Binary Server Socket Program Example

    Adding C# Shared DLL Program Example

  10. C# Binary Client Socket Program Example - The client program

  11. Testing the C# Client and Server Program

  12. VB .NET Binary Socket Server Program Example

  13. Adding a VB .NET Shared DLL

    Adding the VB .NET Binary Socket Client Program Example

    The VB .NET Shared DLL Project

  14. VB .NET: The Binary Server Socket Project

  15. VB .NET: The Binary Client Socket project

    VB .NET: Testing the Whole Project, Client and Server

  16. XML Serialization

  17. Controlling XML Serialization

    Overriding XML Serialization

    XmlAttributes Class

    XmlAttributeOverrides Class

  18. C++ XML Serialization Program Example

  19. C# XML Serialization Program Example

  20. VB .NET XML Serialization Program Example

  21. Another C++ XML Serialization Program Example

  22. Another C# XML Serialization Program Example

  23. Another VB .NET XML Serialization Program Example

  24. SOAP Serialization

    Code Access Security

 

 

Summary

 

It’s evident that serialization is a powerful and very useful mechanism for transporting complex data across processes, regardless of whether they’re running on the same machine or across a network. The .NET Framework offers three types of serialization, and each has its own advantages. Binary serialization is the easiest of all serializers to use and also produces the most compact data. The XML serializer offers interoperability and portability at the expense of a much larger serialized data size. Finally, serializing to SOAP allows interoperability with SOAP-based services such as .NET Remoting and Web services. The ability to serialize data forms the building blocks for many technologies such as .NET Remoting and Web services, which are covered later in this book.

 

 

 

 

HOME

 

 

 

Custom Search
 < Threading and the Asynchronous Pattern | Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7 | Part 8 | Part 9 | Part 10 | Part 11 | Part 12 | Part 13 | Part 14 | Part 15 | Uniform Resource Identifiers (URIs) >