Simple.AutoMapper
1.0.10
dotnet add package Simple.AutoMapper --version 1.0.10
NuGet\Install-Package Simple.AutoMapper -Version 1.0.10
<PackageReference Include="Simple.AutoMapper" Version="1.0.10" />
<PackageVersion Include="Simple.AutoMapper" Version="1.0.10" />
<PackageReference Include="Simple.AutoMapper" />
paket add Simple.AutoMapper --version 1.0.10
#r "nuget: Simple.AutoMapper, 1.0.10"
#:package Simple.AutoMapper@1.0.10
#addin nuget:?package=Simple.AutoMapper&version=1.0.10
#tool nuget:?package=Simple.AutoMapper&version=1.0.10
Simple.AutoMapper
High-performance object mapping for .NET with expression tree compilation. Simple API, powerful configuration options.
Latest - Patch overloads (new object, type-inferred, collection), Map in-place via
ISimpleMapper. See Release Notes.
Installation
dotnet add package Simple.AutoMapper
Target Frameworks: netstandard2.0, netstandard2.1, net8.0, net9.0, net10.0
Quick Start
using Simple.AutoMapper.Core;
// Map — copy all properties to new object
var dto = Mapper.Map<User, UserDto>(user);
// Patch — copy only non-null properties (HTTP PATCH scenario)
Mapper.Patch(partialDto, existingEntity);
Before & After
// ❌ Without Simple.AutoMapper — manual property-by-property copy
var dto = new UserDto();
dto.Id = user.Id;
dto.FirstName = user.FirstName;
dto.LastName = user.LastName;
dto.Email = user.Email;
// ... repeat for every property, every model, every service
// ✅ With Simple.AutoMapper — one line
var dto = Mapper.Map<User, UserDto>(user);
For the full before/after comparison of every feature, see the Usage Guide.
Performance
- Expression tree compilation for fast subsequent mappings
- Thread-safe caching of compiled mappers
- First mapping incurs compilation cost; subsequent calls are optimized
Test Coverage
- 242+ tests passing
- 92.9% line coverage, 88.8% branch coverage
Documentation
- Usage Guide — Before/after examples, API reference, patterns
- Release Notes
- Tasks & Roadmap
- Deployment Guide
- Contributing
Samples
| Sample | Location | Demonstrates |
|---|---|---|
| Console | samples/Console/ |
All 19 features with static Mapper |
| WebAPI | samples/WebAPI/ |
REST API with DI, PUT/PATCH endpoints |
License
MIT License - see LICENSE.md
Team
Core Development Team
- SEONGAHN - Lead Developer & Project Architect
- YUJIN - Senior Developer & Exchange Integration Specialist
- SEJIN - Software Developer & API Implementation
Built with care by the ODINSOFT Team | GitHub
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.Logging (>= 10.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.1)
-
.NETStandard 2.1
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.1)
- Microsoft.Extensions.Logging (>= 10.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.1)
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.1)
- Microsoft.Extensions.Logging (>= 10.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.1)
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.1)
- Microsoft.Extensions.Logging (>= 10.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.1)
-
net9.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.1)
- Microsoft.Extensions.Logging (>= 10.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
v1.0.10
- Add Patch 4 overloads: new object, type-inferred, collection, in-place (null-skip semantics)
- Remove MapTo from ISimpleMapper, replace with Map in-place overload
- ISimpleMapper now exposes 8 methods: Map (4) + Patch (4)
- Add PatchTests (11 tests) and CoverageBoostTests (32 tests)
- Increase test coverage to 92.9% line, 88.8% branch (242 tests)
- Add docs/GUIDE.md with before/after usage comparisons
- Restructure samples: Console (feature-split files) and WebAPI (PATCH endpoints)
- Consolidate docs: RELEASE.md, TASK.md, DEPLOYMENT.md
- All existing v1.0.9 features remain compatible
- Targets: netstandard2.0, netstandard2.1, net8.0, net9.0, net10.0