Mapster
dnSpy
Mapster | dnSpy | |
---|---|---|
15 | 7 | |
4,145 | 5,577 | |
0.8% | 4.6% | |
5.5 | 8.9 | |
5 months ago | 4 days ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 only |
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.
Mapster
-
Dotnet.World.News(Wednesday, September, 20, 2023)
🔴 [Mapster] A fast, fun and stimulating object to object Mapper! Mapster was designed to be efficient on both speed and memory. You could gain a 4x performance improvement whilst using only 1/3 of memory.
- Mapster and IFormFile exception
-
Object Mapping in .NET
Mapster
-
Help with an ASP.NET Core API and Mapster
Have you read this part in their documentation? https://github.com/MapsterMapper/Mapster/wiki/Data-types
-
Is Automapper the most hated library?
Which is the main reason I don't use it anymore. I can still stand behind why it was created and what it was trying to solve. If you still want to use a mapper I would recommend Mapster as it supports source generation so you can see all code and it's references.
-
When using the DTO pattern and rolling your own mappers, is there a shorter way to write the mapping functions?
Gotta add a shoutout to Mapster which does pretty much the same thing also using source generation.
-
AutoMapper's open source code of conduct
I highly recommend Mapster (https://github.com/MapsterMapper/Mapster)
-
What C# tools would you like to use that don't exist today?
We use Mapster coupled with FastExpressionCompiler and have been very happy with it.
-
Looking for alternative solution to Deep Clone for 10,000+ iterrations
Try Mapster
-
Unit Tests Done Right (Part 2)
I hope I managed to convince you and proved the value of unit tests for mappings, so let's move on to the next example. We're going to use AutoMapper, but from a testing standpoint, the choice of mapper makes no difference. For instance, we can replace AutoMapper with Mapster and it won't affect our tests in any way. Moreover, the existing tests will indicate whether our mapping refactoring was successful or not, which is one of the points of having unit tests 🙂
dnSpy
-
Help understanding an image format
In the future, if you have .NET apps, try dnSpyEx. Compared to Ghidra, it produces excellent output - a lot of the time, it's more-or-less equivalent to the original source. Only issue I have with it is that it's Windows-only and doesn't work great under Wine, so I use it in a VM. If you already use Windows, then it's probably not going to bother you.
- What C# tools would you like to use that don't exist today?
- Possible to check code without IDE installed?
-
Decompile .NET DLLs/EXEs using ILSpy
This shouldn't be the case for much longer though according to recent comments on this issue: https://github.com/dnSpyEx/dnSpy/issues/5
-
Debug C# interface implemenation located in nuget package
Not quite an answer, but I've heard that dnSpyEx allows to debug everything. Just have a look - https://github.com/dnSpyEx/dnSpy
-
In the Jungle of .NET Decompilers
Thanks I've updated the article with links to dnSpyEx https://github.com/dnSpyEx/dnSpy.
-
Might And Magic X Legacy - manual code fix to gain back access to Act 2, DLC and Uplay rewards
Download and extract somewhere DnSpy 6.1.8. If you can't find it, the latest version of this revival project should be fine too (untested).
What are some alternatives?
AutoMapper - A convention-based object-object mapper in .NET.
CodemerxDecompile - The first standalone .NET decompiler for Mac, Linux and Windows
mapperly - A .NET source generator for generating object mappings. No runtime reflection.
testcontainers-dotnet - A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
Mapping Generator - :arrows_counterclockwise: "AutoMapper" like, Roslyn based, code fix provider that allows to generate mapping code in design time.
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+.
DependenSee - Dotnet project and package dependency visualizer.
ExpressMapper - Mapping .Net types
FastExpressionCompiler - Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expressions.
mapr - A simple object to object mapper.
esp32_image_parser - A toolkit for helping you reverse engineer ESP32 firmware.