In this 2-hour course you will learn about how to serailize and deserialize objects in the Microsoft® .NET Framework 2.0. Topics range from Binary, SOAP, and XML Serialization to how to customize serialization using atrributes and custom classes. In the lab, you will customize XML Serialization with XmlAttributes. You will also use the XmlSerializer to serialize and deserialize an object.
Having a good understanding of serialization concepts is key to developing distributed applications.
This course also will help you prepare for Exam 70-536 TS: Microsoft .NET Framework 2.0—Application Development Foundation.
At the end of the course, students will be able to:
Serialize to Binary and SOAP
Using the SoapFormatter
Using the BinaryFormatter
Serialize to XML
Serializing objects using XmlSerializer
Customizing serialization with serialization attributes
Customizing serialization using IXmlSerializable
Handling XML Serialization Events
Create Custom Serialization Classes
Using Serialization interfaces
Creating custom formatters
Handling Serialization Events
Using ObjectManger to manage deserialized objects
Modules & Lessons
Generating Serialized Binary and SOAP Formats
What Is Serialization and Deserialization?
Serialize Objects by Using BinaryFormatter and SoapFormatter
Generating Serialized XML Formats
Serialize Objects into XML Format by Using the XmlSerializer Class
Control the Resulting XML by Using XML Serialization Attributes
Create a Custom XmlSerializable Class by Using IXmlSerializable
Handle XML Serialization Events by Using Delegates
Evaluating When to Use a Specific Type of Serialization
Creating Custom Serialization Classes
Collect the Serialization Information by Using Serialization Types
Create Custom Classes by Using Serialization Interfaces
Convert Data to a Serialized Format by Using Formatter Classes
Handle Serialization Events by Using Event Handler Attributes
Manage Deserialized Objects by Using the ObjectManager Class
Categorizing the Features of Serialization Types and Formatter Classes
Lab: Serializing Data
To view this course, you need:
A Pentium II, 256 MB RAM with a processor speed greater than or equal to 400 MHZ
Microsoft® Windows® 2000 or higher
Microsoft Internet Explorer 6.0 or higher
Adobe Flash 7.0 or higher (1MB disk space needed to install)
Microsoft Silverlight 4.0 or higher
Microsoft Windows Media Player 7.0 or higher
Microsoft XML Core Services 3.0 or higher
A Super VGA monitor with minimum screen resolution 1024x768, with 16-bit color.
A sound card, and either speakers or headphones (for multi-media audio).
Internet bandwidth of 56K or faster. Broadband internet access is recommended.
For courses containing Virtual Server-based labs (courses in the IT Professional and Developer Catalog), you will need:
Microsoft Virtual Server ActiveX control (1MB disk space needed to install)