Skip to content
Arnel Robles edited this page Sep 28, 2026 · 2 revisions

Mapsicle

CI NuGet Downloads License: MIT

Sponsor

Mapsicle is a high-performance, modular object mapping ecosystem for .NET. Choose only what you need:

See it working: github.com/arnelirobles/mapsicle_samples maps one e-commerce order aggregate through Mapsicle, AutoMapper and Mapperly side by side, in a CRUD API over SQLite, with an endpoint that reports where the three disagree. Declare a pair and Mapsicle matches hand written code on that graph: 287.7 ns against 288.5, allocating the same 1.41 KB. Mapperly and Mapster are 1.08 and 1.09.

Package Purpose Dependencies
Mapsicle Zero-config mapping None
Mapsicle.SourceGen Compile-time mappers for declared pairs None at runtime
Mapsicle.Fluent Fluent configuration + Profiles Mapsicle
Mapsicle.EntityFramework EF Core ProjectTo<T>() Mapsicle.Fluent
Mapsicle.Validation FluentValidation integration Mapsicle.Fluent
Mapsicle.NamingConventions Naming convention support Mapsicle.Fluent
Mapsicle.Json JSON serialization integration Mapsicle.Fluent
Mapsicle.AspNetCore ASP.NET Core Minimal API helpers Mapsicle.Validation
Mapsicle.Caching Memory/Distributed cache support Mapsicle.Fluent
Mapsicle.Audit Change tracking/diff detection Mapsicle.Fluent
Mapsicle.DataAnnotations DataAnnotations validation Mapsicle.Fluent
Mapsicle.Dapper Dapper query-and-map helpers Mapsicle.Fluent
Mapsicle.Serilog Mapping diagnostics via Serilog Mapsicle
Mapsicle.DependencyInjection AddMapsicle(), no configuration Mapsicle

The core Mapsicle package has zero dependencies. Extension packages introduce their respective third-party dependencies (listed in the table above).

Zero configuration by default. Configure only where a mapping is genuinely not conventional.

Coming from AutoMapper? Migrating from AutoMapper covers what changes, what you can delete, and where Mapsicle is the wrong answer.

Clone this wiki locally