更新:SelfProfiler AutoMapper v2から削除されたため、ここに投稿されたアプローチはもはや有効ではありません。
私はトアイと同様のアプローチを取るでしょう。しかし、組み込みSelfProfiler<>クラスを使用してマップを処理し、Mapper.SelfConfigure関数を使用して初期化します。
このオブジェクトをソースとして使用:
public class User
{
    public int Id { get; set; }
    public string FirstName { get; set; }
    public string LastName { get; set; }
    public DateTime BirthDate { get; set; }
    public string GetFullName()
    {
        return string.Format("{0} {1}", FirstName, LastName);
    }
}
そしてこれらは目的地として:
public class UserViewModel
{
    public int Id { get; set; }
    public string FirstName { get; set; }
    public string LastName { get; set; }
}
public class UserWithAgeViewModel
{
    public int Id { get; set; }
    public string FullName { get; set; }
    public int Age { get; set; }
}
次のプロファイルを作成できます。
public class UserViewModelProfile : SelfProfiler<User,UserViewModel>
{
    protected override void DescribeConfiguration(IMappingExpression<User, UserViewModel> map)
    {
    //This maps by convention, so no configuration needed
    }
}
public class UserWithAgeViewModelProfile : SelfProfiler<User, UserWithAgeViewModel>
{
    protected override void DescribeConfiguration(IMappingExpression<User, UserWithAgeViewModel> map)
    {
    //This map needs a little configuration
        map.ForMember(d => d.Age, o => o.MapFrom(s => DateTime.Now.Year - s.BirthDate.Year));
    }
}
アプリケーションで初期化するには、このクラスを作成します
 public class AutoMapperConfiguration
 {
      public static void Initialize()
      {
          Mapper.Initialize(x=>
          {
              x.SelfConfigure(typeof (UserViewModel).Assembly);
              // add assemblies as necessary
          });
      }
 }
次の行をglobal.asax.csファイルに追加します。 AutoMapperConfiguration.Initialize()
これで、マッピングクラスを意味のある場所に配置でき、1つのモノリシックマッピングクラスについて心配する必要がなくなります。