Category Archives: automapper

AutoMapper 3.2.0 released

Full release notes on the GitHub site Big features/improvements: LINQ queryable extensions greatly improved ICollection supported MaxDepth supported Custom MapFrom expressions supported (including aggregations) Inherited mapping configuration applied Windows Universal Apps supported Fixed NuGet package to not have DLL in … Continue reading 

| 5 Comments

Using AutoMapper to perform LINQ aggregations

In the last post I showed how AutoMapper and its LINQ projection can prevent SELECT N+1 problems and other lazy loading problems. That was pretty cool, but wait, there’s more! What about complex aggregation? LINQ can support all sorts of … Continue reading 

| 8 Comments

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 

| 8 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 

| 20 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 

| 4 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 

| 33 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 

| 4 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 

| Leave a comment