Object mapping with Tiny Mapper in .NET 6 (Arguably the fastest object mapper in the .NET ecosystem)

preview_player
Показать описание
#tinymapper #.net #objectmapper

Tiny Mapper is arguably one of the fastest object mappers available for the .NET framework. In this video, I have walked through how to use TinyMapper to map objects for various purposes.

Some of my popular videos:

Рекомендации по теме
Комментарии
Автор

Mapster is another object mapper which offers dynamic mapping as well as static mapping via a configurable code generator CLI. According to a few benchmarks, both its dynamic and static mapping are considerably faster than hand coded mapping. I take those benchmarks with a grain of salt. The performance of manual mapping depends on the developer's skill.

The best part of Mapster, however, is the ability to remove it as a dependency once the code is generated. You can perform this as a step in your application's release build or publishing stage.

bobweiram
Автор

Not sure about performance but isn't implicit operator, at least for the given example, is far less code?
In addition, when I use implicit operator, the code is more organized; everything related to the object is grouped together rather than scattered around multiple files/classes.
Your thoughts?

sridharsathya
Автор

Funny, for this example it ends up being way more obtuse to map this class than it would have been to just write the conversion yourself.

antjones
Автор

Its not maintained for over 3 years now

matiascasag
visit shbcf.ru