Acerca de AutoMapper

Automate mapping between complex data models and simplified data transfer objects.

AutoMapper is a convention-based object-object mapper that enforces naming conventions and optimizes complex object and LINQ mapping to simple DTOs. It removes boilerplate code and validates mappings to let developers focus on more interesting, valuable problems instead of boring mapping code.

AutoMapper uses mapping conventions to build high-performance mapping code at runtime to automate mapping from complex entity and data models to simplified DTOs, enabling highly maintainable architectures such as Clean and Vertical Slice Architecture without adding overhead.

AutoMapper handles all the obvious mapping scenarios but also exposes a rich extensibility model for more complex scenarios and edge cases, such as alternative naming conventions, custom type conversion, LINQ integration, and more.

AutoMapper also includes mapping validation to ensure your naming conventions are properly followed and all mappings can work at runtime. AutoMapper lets developers focus on adding features, not testing and maintaining boring mapping code.