Visual Basic .Net Serialization Handbook

Visual Basic .Net Serialization Handbook

ISBN: 1861008007

ISBN 13: 9781861008008

Authors: Andy Olsen, Matjaz Juric

3.33 of 3

Click the button below to register a free account and download the file


Download PDF

Download ePub

Serialization is a fundamental process that creates a persistent and portable representation of an object. This representation can be stored to disk, or moved across a network so that the object can be recreated on another machine.

Before .NET, developers often created serialization code that serialized objects into a proprietary format. This format was often application-specific, so sharing serialization files between applications was tricky.

.NET improves upon this situation by providing a standard way of serializing and deserializing objects. Basic .NET serialization to XML, SOAP, and binary formats is also easy-to-use, because we do not have to provide any explicit serialization code. However, .NET serialization is also extensible, so we can provide own serialization format and code should we need or want to. Finally, .NET serialization persists not only the object state but also its metadata, which means that .NET applications on different platforms (such as Windows and Linux) could exchange and share serialized data in files.

Indeed, serialization plays a key role in the .NET Framework, being intimately linked to many important aspects of it, especially Remoting and Web Services.

So, it is clear that the advent of .NET presents developers with a new and exciting approach to serialization. To use it effectively and efficiently, developers need to understand the .NET serialization process, to be guided through its customizable features, and to be taught best practices. This book does just that.