Skip to main content
ZeroAlloc.Mapping package icon

ZeroAlloc.Mapping

Source-generated, zero-allocation Command→Domain→DTO mapper for .NET. [Map<,>]/[TryMap<,>] on a static partial class — generator emits direct property assignments at compile time. Result<T, MappingError> on the [TryMap] path; ValueObjects smart constructors honoured automatically. AOT-safe.

Total Downloads
8.1K
8,080
Published
May 12, 2026
Latest stable version

Install

.NET CLI
dotnet add package ZeroAlloc.Mapping --version 1.4.1
Package Manager Console
Install-Package ZeroAlloc.Mapping -Version 1.4.1
PackageReference
<PackageReference Include="ZeroAlloc.Mapping" Version="1.4.1" />

Frameworks

net8.0 net9.0 net10.0

Dependencies

[1.1.2, )
[1.1.2, )
[1.1.2, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.