Recently I discussed using type converters to perform custom serialization of types in YamlDotNet. In this post I'll concentrate on expanding the type converter to support deserialization as well.
Entries tagged with 'convert' Articles and information on C# and .NET development topics
One of our internal tools eschews XML or JSON configuration files in favour of something more human readable - YAML using YamlDotNet. For the most part the serialisation and deserialisation of YAML documents in .NET objects is as straight forward as using libraries such as JSON.net but when I was working on some basic serialisation there were a few issues. This article describes how to use the IYamlTypeConverter
interface to handle custom YAML serialisation functionality.
A quick sample which shows how to convert PDF files into images and display them in an ASP.NET application.
Article describing how to extend the ImageBox control to support displaying PDF files using the GhostScript API, removing the need for a dedicated PDF reader.
Article which describes how to use C# and GhostScript to convert PDF files into raster images for displaying in an application without requiring a dedicated PDF reader.