Chapter 4Serialization
|
||
|
What we have in this chapter?
Serialization FormatsBinary SerializationControlling Binary SerializationCreating Shared C++ DLL Class C++ Binary Socket Client Program Example Adding C# Binary Server Socket Program ExampleAdding C# Shared DLL Program ExampleTesting the C# Client and Server Program Adding a VB .NET Shared DLL Adding the VB .NET Binary Socket Client Program ExampleThe VB .NET Shared DLL ProjectVB .NET: The Binary Client Socket projectVB .NET: Testing the Whole Project, Client and ServerControlling XML SerializationOverriding XML SerializationXmlAttributes ClassXmlAttributeOverrides ClassC# XML Serialization Program ExampleSOAP SerializationCode 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.
|
|
|
![]() 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) > | ||