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.2K
8,167
Published
Sep 20, 2026
Latest stable version

Install

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

Frameworks

net10.0 net8.0 net9.0

Dependencies

[1.2.3, )
[1.2.3, )
[1.2.3, )

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.