Serialization in .NET 4.5
![Pluralsight](https://static.mytechlogy.com/cache/198e0a947da0127606f2749b57b54665_w30_h30_cp_sc.png)
Pluralsight
Course Summary
This course equips viewers with essential knowledge about serialization in the .NET Framework. No matter what .NET technology developers are using - whether it's ASP.NET, WCF, Web API, or desktop applications - they will definitely encounter situations where serialization is needed. This course helps them understand the different alternatives and what is the best choice in each scenario.
-
+
Course Description
In this course, we look at serialization from the viewpoints of the two most common scenarios: persisting an application state and exchanging data between entities. First we look at some essential prerequisite concepts. Then we start the serialization learning journey by examining binary serialization, a very important technique to master when writing applications that need to persist their state. We look at the basic concepts of binary serialization and then how to step in and take more control. We then enter the world of XML serialization, which is used heavily in integration scenarios. We look at the different available serializers, and then again we examine how to take fine-grained control over the XML structure. JSON serialization is another important topic, especially in the Web API space, and we examine and compare between the available options. Finally, we'll look at a summarization flowchart that will help you decide which option to use based on each scenario.
-
+
Course Syllabus
Serialization Essentials- 13m 48s
—Introduction 0m 37s
—What Is a Stream? 1m 24s
—What Is an Object Graph? 1m 0s
—What are Serialization and Deserialization? 3m 47s
—Usage Scenario: Persistence 2m 34s
—Usage Scenario: Transmission 1m 46s
—Course Contents 2m 37sBinary Serialization- 50m 28s
—Introduction 0m 17s
—What Is Binary Serialization? 4m 38s
—Type Fidelity 3m 58s
—Introducing the Serialization Engine 2m 32s
—Making a Type Serializable 2m 18s
—Serialization and Inheritance 2m 19s
—Demo: Presenting the Class Diagram 1m 27s
—Demo: Binary Serialization Essentials 5m 54s
—Omitting Fields 1m 2s
—Demo: How are Properties Handled? 3m 5s
—Demo: The Problem of Automatic Properties 2m 30s
—Deserialization and Instance Initialization 0m 50s
—Reference Integrity 1m 47s
—Demo: Reference Integrity 1m 51s
—Beware of Corrupted Serialization Streams 2m 14s
—Demo: Sharing Types Between Applications 5m 49s
—Versioning Considerations 3m 26s
—Should All Types Be Serializable? 1m 41s
—Null Types 0m 45s
—Summary 1m 59sFine-grained Binary Serialization- 57m 29sXML Serialization Using DataContractSerializer- 29m 1sMore DataContractSerializer Usage Scenarios- 52m 54sFine-grained XML Serialization- 34m 10sJSON Serialization- 17m 24sSummarized Comparative Study- 7m 19s