AgileMapper alternatives and similar packages
Based on the "Object to object mapping" category.
Alternatively, view AgileMapper alternatives based on common mentions on social networks and blogs.
-
Mapperly
A .NET source generator for generating object mappings. No runtime reflection. -
Mapping Generator
:arrows_counterclockwise: "AutoMapper" like, Roslyn based, code fix provider that allows to generate mapping code in design time.
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of AgileMapper or a related project?
README
AgileMapper
AgileMapper is a zero-configuration, highly-configurable, unopinionated object mapper with viewable execution plans. It flattens, unflattens, deep clones, merges, updates and projects queries via extension methods, or a static or instance API. It targets .NET 3.5+ and .NET Standard 1.0+.
You can use it to create new objects:
var customerDto = Mapper.Map(customer).ToANew<CustomerDto>();
...project queries:
var customerDtos = await context
.Customers
.Project().To<CustomerDto>()
.ToArrayAsync();
...perform id-aware updates:
Mapper.Map(customerViewModel).Over(customer);
...and merges:
Mapper.Map(customerOne).OnTo(customerTwo);
It's available via NuGet and licensed with the MIT licence. Check out the documentation for more!
*Note that all licence references and agreements mentioned in the AgileMapper README section above
are relevant to that project's source code only.