Fluent Object Mapping and Transformation in .NET
A lightweight, fast, and configuration-free library to transform objects safely.
Includes automatic support for conversion between enum and string in both directions.
NetCore.Mapper is a NuGet package designed for .NET developers who need fluent, minimal, and functional object mapping — without requiring manual configuration, explicit reflection, or heavy external libraries.
The goal of the library is to simplify object transformation between layers (for example, between DTOs, Entities, or ViewModels), focusing on:
- Reducing repetitive code
- Automatic conversions from
enumtostringand fromstringtoenum - Smart caching to improve performance
- Fluent style with
.Apply()extension support for functional chaining
This simplicity makes NetCore.Mapper ideal for scenarios where productivity, readability, and low coupling are priorities, reducing setup time and project complexity.
Ideal for Web API applications, layered services, automation routines, front-end integrations, and any context where objects need to be converted safely and efficiently.
Simplicity by default
Unlike approaches that require configuration instances, profiles, or manual convention definitions, this library performs mapping automatically based on matching names and compatible types.
It removes intermediate steps, improves productivity, and reduces project complexity, without sacrificing safety or performance.