Category Archives: AutoMapper

AutoMapper 1.0 RC1 released

It’s been quite a long journey with AutoMapper, with the origins written just over a year ago now.  I’ve focused on stability and performance since the 0.3.1 release back in May, and from here to the 1.0 release, I’ll just … Continue reading 

Also posted in .Net, Asp.Net, Asp.Net MVC, Bootstrap.mvc, Open Source Software, OSS | 38 Comments

Analyzing AutoMapper performance

One of the last things I wanted to look at AutoMapper before pushing it out to production was to get some idea of how it performed.  One of the more difficult things in doing this is trying to come up … Continue reading 

| 7 Comments

How we do MVC – View models

A while back, I went over a few of the patterns and opinions we’ve gravitated towards on our current large-ish ASP.NET MVC project, or, how we do MVC.  Many of these opinions were forged the hard way, by doing the … Continue reading 

| Comments Off

Requesting features for AutoMapper

On the AutoMapper mailing list, I get a lot of what I consider wacky requests.  Not because the requests aren’t valid, but rarely do I get any context of what people are trying to do with AutoMapper.  As a reference, … Continue reading 

| Comments Off

Podcast on AutoMapper live

A couple of weeks ago, Craig at Polymorphic Podcast was kind, and patient enough to listen to me ramble for about an hour or so on AutoMapper.  We talked about quite a few topics concerning object-to-object mapping and AutoMapper, including: … Continue reading 

| Comments Off

AutoMapper and IoC

Since we’re a big user of IoC containers, namely StructureMap (which was obviously a big inspiration in the design of the configuration), I tried to make AutoMapper IoC-friendly out of the box.  It wasn’t friendly at first, Jeffrey Palermo had … Continue reading 

| Comments Off

AutoMapper feature – custom type converters

This one came up on the mailing list, so I thought I might as well blog about it (and fill in the documentation). Sometimes, you need to take complete control over the conversion of one type to another. This is … Continue reading 

| Comments Off

AutoMapper feature: interfaces and dynamic mapping

In this post, I’ll highlight two features new in the 0.3 release: mapping to interfaces and dynamic mapping.  Both of these come up in rather interesting scenarios. Mapping to interface destinations In some messaging scenarios, the message itself is not … Continue reading 

| Comments Off

AutoMapper 0.3 Beta released

Today, I dropped AutoMapper 0.3 Beta.  From the release notes: New Features Mapping to interfaces Do not need any implementation configured Implementation is created at runtime using proxies Dynamic mapping Do not need to configure source/destination type Used with Mapper.DynamicMap … Continue reading 

| Comments Off

Adventures with IL Merge

A recent addition to AutoMapper is the feature where I can map directly to and from interfaces.  You don’t need a concrete type to do this, AutoMapper will create an implementation for you at runtime, with default property behavior.  To … Continue reading 

| Comments Off