Chapter 4

Serialization

 

 

 

 

 

COMPLETED PROJECT DOWNLOAD

What we have in this chapter?

  1. An Overview

  2. Serialization Formats

  3. Binary Serialization

  4. Controlling Binary Serialization

  5. C++ Binary SOAP Program Example

  6. C# Binary SOAP Program Example

  7. VB .NET Binary SOAP Program Example

  8. C++ Binary Socket Server Program Example

  9. Creating Shared C++ DLL Class

  10. C++ Binary Socket Client Program Example

  11. C# Binary Socket Server Program Example

  12. Adding C# Binary Server Socket Program Example

  13. Adding C# Shared DLL Program Example

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

  15. Testing the C# Client and Server Program

  16. VB .NET Binary Socket Server Program Example

  17. Adding a VB .NET Shared DLL

  18. Adding the VB .NET Binary Socket Client Program Example

  19. The VB .NET Shared DLL Project

  20. VB .NET: The Binary Server Socket Project

  21. VB .NET: The Binary Client Socket project

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

  23. XML Serialization

  24. Controlling XML Serialization

  25. Overriding XML Serialization

  26. XmlAttributes Class

  27. XmlAttributeOverrides Class

  28. C++ XML Serialization Program Example

  29. C# XML Serialization Program Example

  30. VB .NET XML Serialization Program Example

  31. Another C++ XML Serialization Program Example

  32. Another C# XML Serialization Program Example

  33. Another VB .NET XML Serialization Program Example

  34. SOAP Serialization

  35. 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) >