How to work with AutoMapper in C#

Use AutoMapper to eliminate the need to write tedious boilerplate code when mapping objects in your application.

Two business people connecting and solving a puzzle.
Maxiphoto / Getty Images

AutoMapper is a popular object-to-object mapping library that can be used to map objects belonging to dissimilar types. As an example, you might need to map the DTOs (Data Transfer Objects) in your application to the model objects. AutoMapper saves you the tedious effort of having to manually map one or more properties of such incompatible types.

Copyright © 2019 IDG Communications, Inc.

How to choose a low-code development platform