article

Using custom type converters with C# and YamlDotNet, part 2

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.

avatar
Richard Moss
article

Using custom type converters with C# and YamlDotNet, part 1

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.

avatar
Richard Moss
article

Displaying the contents of a PDF file in an ASP.NET application using GhostScript

A quick sample which shows how to convert PDF files into images and display them in an ASP.NET application.

avatar
Richard Moss
article

Extending the ImageBox component to display the contents of a PDF file using C#

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.

avatar
Richard Moss
article

Convert a PDF into a series of images using C# and GhostScript

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.

avatar
Richard Moss