Mapping Generator
:arrows_counterclockwise: "AutoMapper" like, Roslyn based, code fix provider that allows to generate mapping code in design time. (by cezarypiatek)
mapperly
A .NET source generator for generating object mappings. No runtime reflection. (by riok)
Our great sponsors
Mapping Generator | mapperly | |
---|---|---|
3 | 20 | |
920 | 2,311 | |
- | 5.1% | |
6.5 | 9.6 | |
almost 3 years ago | 3 days ago | |
C# | C# | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Mapping Generator
Posts with mentions or reviews of Mapping Generator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-07.
-
MappingGenerator went commercial
You can see some examples on the project old page https://github.com/cezarypiatek/MappingGenerator
- Architecture complexity in the dotnet community & Our duty to beginners
mapperly
Posts with mentions or reviews of mapperly.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-07.
-
I created a new object mapper
Check out https://github.com/riok/mapperly
- Should I use AutoMapper for this?
-
Is Automapper the most hated library?
There are alternatives doing this already e.g. https://github.com/riok/mapperly
-
When using the DTO pattern and rolling your own mappers, is there a shorter way to write the mapping functions?
No sure if I understand your problem correctly, but maybe something like Mapster or Mapperly could help with that, given that it can generate source code instead of using reflection or expression trees.
-
Auto Mapping Library
That's why I'd suggest Mapperly. It outperforms Automapper too, Chapsas made a video about that recently.
-
Best .net/c# resources for senior engineer
Do note that AutoMapper is reflection based. If you'd like a compile time mapper, looking into something like mapperly or MappingGenerator
- What C# tools would you like to use that don't exist today?
- Mapperly - A .NET source generator for object to object mappings
- Show HN: Mapperly – A .NET source generator for object to object mappings
What are some alternatives?
When comparing Mapping Generator and mapperly you can also consider the following projects:
AutoMapper - A convention-based object-object mapper in .NET.
Mapster - A fast, fun and stimulating object to object Mapper
ExpressMapper - Mapping .Net types
AgileMapper - A zero-configuration, highly-configurable, unopinionated object mapper with viewable execution plans. Flattens, unflattens, deep clones, merges, updates and projects queries. .NET 3.5+ and .NET Standard 1.0+.
Protobuf.NET - Protocol Buffers library for idiomatic .NET
MediatR - Simple, unambitious mediator implementation in .NET
JsonByExampleGenerator - Generate classes based on example json files in your project. Uses a C# 9 source generator.
Waf DotNetPad - The Waf DotNetPad is a simple and fast code editor that makes fun to program with C# or Visual Basic.
Mapping Generator vs AutoMapper
mapperly vs Mapster
Mapping Generator vs Mapster
mapperly vs AutoMapper
Mapping Generator vs ExpressMapper
mapperly vs ExpressMapper
Mapping Generator vs AgileMapper
mapperly vs Protobuf.NET
Mapping Generator vs MediatR
mapperly vs AgileMapper
mapperly vs JsonByExampleGenerator
mapperly vs Waf DotNetPad