AutoMapper Converters

When using AutoMapper, it may be that we’re using types which map easily to one another, for example if the objects being mapped have the same type for a property or the type can be converted using the standard type convertes, but what happens when things get a little more complex? Suppose we have a […]

AutoMapper Profiles

When creating mappings for AutoMapper we can easily end up with a mass of CreateMap methods in the format An alternate way of partitioning the various map creation methods is using the AutoMapper Profile class. Instead we can create profiles with as fine or coarse granularity as you like, here’s an example To register the […]

First Impressions – AutoMapper

One of the projects I’m working on (at the time of writing this post) is a C# client which uses Java web services. When creating the proxies we end up with DTO objects which have a few issues, some are aesthetic others functional. On the aesthetic from they do not adhere to the Pascal case […]

Object mapping with TinyMapper

I’ve written a few posts on AutoMapper in the past. AutoMapper and the subject of this post, TinyMapper, are object mappers which basically means translating/mapping one object to another object. That is to say you have (for example) a DTO (data transfer object) used to transfer data via REST or SOAP services. This object is […]