C# Object to object mapping

Open-source C# projects categorized as Object to object mapping | Edit details

Top 4 C# Object to object mapping Projects

  • GitHub repo AutoMapper

    A convention-based object-object mapper in .NET.

    Project mention: Separating Read and Write models (CQS) with F# | reddit.com/r/fsharp | 2021-12-06

    My recommendation is just to write the boilerplate mapping code yourself. Yes it's annoying, but it's also simple and obvious. The alternative is to use something like AutoMapper. In my experience though, this sort of magical reflection based solution causes more problems than it's worth. It makes the happy path of copying properties from one object to another wholesale much less verbose, but as soon as you need more complicated mappings the configuration quickly gets gnarly and hard to reason about. Any time saved manually typing out mapping code will be lost diagnosing runtime errors when converting between domain objects and DTOs.

  • GitHub repo Mapster

    A fast, fun and stimulating object to object Mapper

    Project mention: Auto mapper vs DTO constructor ? | reddit.com/r/dotnet | 2021-10-01
  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo 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+.

    Project mention: Comparison of Object Mapper Libraries | dev.to | 2021-05-19

    See https://github.com/agileobjects/AgileMapper

  • GitHub repo ExpressMapper

    Mapping .Net types

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-12-06.

C# Object to object mapping related posts


What are some of the best open-source Object to object mapping projects in C#? This list will help you:

Project Stars
1 AutoMapper 8,450
2 Mapster 2,118
3 AgileMapper 395
4 ExpressMapper 297
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.