- Working hard and enjoying every minute of it.
- using the asp.net lego blocks to create a synchronized Kanban board.
- Tip to become a successful software engineer.
- ASP.Net Web Config Transform Console Utility released on nuget
- Are your unit tests still hard to read ? – Should Assertion Library
- Using sql compact for integration tests with entity framework.
Category Archives: 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
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
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
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
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
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
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
Big thanks to Jeffrey for getting this going: http://teamcity.codebetter.com/project.html?projectId=project13 What made it much easier was that I used TreeSurgeon as a starting place for builds. NAnt isn’t the dirt easiest thing to get going from scratch, so TreeSurgeon’s tree and … Continue reading
I’m slowly filling in documentation for AutoMapper, which is turning out to be exactly as much fun as I estimated. Projection Projection transforms a source to a destination beyond flattening the object model. Without extra configuration, AutoMapper requires a flattened … Continue reading
With quite a few community patches submitted, I dropped AutoMapper version 0.2 today. Here’s the release notes: Added: Better mapping exceptions that capture current mapping context Custom instantiation expressions for value formatters Custom instantiation expressions for value resolvers Support for … Continue reading