Developing for Modern Windows

Tips, tricks, and guides for developing on modern Windows platforms

Posts Tagged: XML

Serializing Sub-Classes in XML

I recently came upon a problem when serializing a class to XML using my standard serializing technique. It wouldn’t serialize a list of Vehicle objects: List<Vehicle> vehiclesList { get; set; } This gave an error message like this:   Unfortunately… Continue Reading →

Serialize / Deserialize an Object to an XML File (Windows Universal apps 8.1)

WinRT’s built-in XML serialization makes it easy to save and load data in .xml files. This article will show you how to store an arbitrary object in an .xml file, and then how to load that data back. Typical uses… Continue Reading →