Category Archives: AutoMapper

Using AutoMapper to prevent SELECT N+1 problems

Back in my post about efficient querying with AutoMapper, LINQ and future queries, one piece I glossed over was how View Models and LINQ projection can prevent SELECT N+1 problems. In the original controller action, I had code like this: … Continue reading 

| 13 Comments

Efficient querying with LINQ, AutoMapper and Future queries

Even after all these years, I’m still a big fan of ORMs. One common complaint over the years is people using ORMs use the tool identically for both reads and writes. With writes, I want tracked entities, managed relationships, cascades … Continue reading 

| 31 Comments

Converting AutoMapper to a Portable Class Library

In the early days of AutoMapper, I got requests to support AutoMapper in other platforms (mainly Silverlight). I didn’t have any experience in those other platforms, but I thought it would be easy. It was not. I wound up with … Continue reading 

| 5 Comments

AutoMapper 3.0, Portable Class Libraries and PlatformNotSupportedException

One of the major additions of AutoMapper 3.0 is the support of multiple frameworks through Portable Class Libraries. A Portable Class Library (PCL) allows a library developer to easily target multiple frameworks, as Scott Hanselman pointed on in a blog … Continue reading 

| 15 Comments

AutoMapper 3.0 released

AutoMapper had Silverlight 4 support a while back, but it was a huge pain to keep up. In this release, I converted AutoMapper to a Portable Class Library, with supported platforms: .NET 4 and higher Silverlight 4 and higher Windows … Continue reading 

| 34 Comments

AutoMapper for Java

Every once in a while, I get a request asking if there’s anything like AutoMapper for the Java platform. For a long time, that answer was “no”. Not anymore! Jonathan Halterman got in touch with me almost 2 years ago … Continue reading 

| 5 Comments

AutoMapper 2.0.0 released

Check out the announcement for details. Now that everything’s on GitHub, NuGet and TeamCity, this should make newer versions much easier and quicker to release. I hadn’t planned on waiting so long, but upgrading to .NET 4 and adding new … Continue reading 

| 4 Comments

AutoMapper completely moved to GitHub

Cross posted from the AutoMapper blog (which I hope to stop cross-posting, eventually): AutoMapper is now completely moved to GitHub: AutoMapper GitHub I’ve updated the site on CodePlex to reflect this move, and moved all existing content over: All issues … Continue reading 

| Comments Off

Building AutoMapper.org

Simplicity is a good thing. Especially when you want to turn out a site that’s really only a couple of pages, max, you don’t want to spend much time (or any) futzing around with things that you don’t care about. … Continue reading 

| 3 Comments

Official site of AutoMapper launched at AutoMapper.org

I’ve (finally) officially launched the official AutoMapper site at AutoMapper.org. It will be a central location for links to AutoMapper resources (mailing list, source, wiki, blog etc.) as well as a spot for news and announcements. I also have an … Continue reading 

| 6 Comments