VOOZH about

URL: https://www.nuget.org/packages/Riok.Mapperly/

⇱ NuGet Gallery | Riok.Mapperly 4.3.1




👁 Image
Riok.Mapperly 4.3.1

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Riok.Mapperly --version 4.3.1
 
 
NuGet\Install-Package Riok.Mapperly -Version 4.3.1
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Riok.Mapperly" Version="4.3.1" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Riok.Mapperly" Version="4.3.1" />
 
Directory.Packages.props
<PackageReference Include="Riok.Mapperly" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Riok.Mapperly --version 4.3.1
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Riok.Mapperly, 4.3.1"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Riok.Mapperly@4.3.1
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Riok.Mapperly&version=4.3.1
 
Install as a Cake Addin
#tool nuget:?package=Riok.Mapperly&version=4.3.1
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Mapperly

👁 Nuget
👁 Nuget Preview
👁 License
👁 Downloads
👁 GitHub Sponsors
👁 GitHub

Mapperly is a .NET source generator for generating object mappings.

Because Mapperly creates the mapping code at build time, there is minimal overhead at runtime. Even better, the generated code is perfectly readable, allowing you to verify the generated mapping code easily.

Documentation

The documentation is available here.

Quickstart

Installation

Add the NuGet Package to your project:

dotnet add package Riok.Mapperly

Create your first mapper

Create a mapper declaration as a partial class and apply the Riok.Mapperly.Abstractions.MapperAttribute attribute. Mapperly generates mapping method implementations for the defined mapping methods in the mapper.

// Mapper declaration
[Mapper]
public partial class CarMapper
{
 public partial CarDto CarToCarDto(Car car);
}

// Mapper usage
var mapper = new CarMapper();
var car = new Car { NumberOfSeats = 10, ... };
var dto = mapper.CarToCarDto(car);
dto.NumberOfSeats.ShouldBe(10);

Read the docs for any further information.

Release Channels

Mapperly is distributed through two release channels:

  • Stable Channel: Production-ready releases with full support for the latest release. Install the latest stable version for production use. Subject to semantic versioning (breaking changes only in major version bumps).
  • Next Channel: Preview releases with upcoming features and improvements. These versions may contain breaking changes and are not subject to semantic versioning. Use for testing and early access to new features.

Support Policy

Only the latest version released on the stable channel is fully supported. We strive to support all .NET versions that are currently supported by Microsoft.

Upgrading

Find a list of breaking changes for each major version and upgrade guides here.

Support

Need assistance with Mapperly or looking for consulting services? The riok team is available to help with:

  • Enterprise support and training
  • Architecture consultation
  • Custom feature development and integration support
  • Performance optimization and code reviews

Reach out through GitHub Discussions for questions, or contact the riok team directly for professional consulting services at . You can also support the project and get priority support through GitHub Sponsors.

How To Contribute

We would love for you to contribute to Mapperly and help make it even better than it is today! Find information on how to contribute in the docs.

License

Mapperly is Apache 2.0 licensed.

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 was computed. 
.NET Framework net461 net461 was computed.  net462 net462 was computed.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 was computed.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (116)

Showing the top 5 NuGet packages that depend on Riok.Mapperly:

Package Downloads
Volo.Abp.Mapperly

Package Description

Skoruba.Duende.IdentityServer.Admin.BusinessLogic.Identity

Business Logic layer for the administration of the Asp.Net Core Identity and Duende IdentityServer

UltronFramework.Utils

Es un componente básico que ofrece ciertas clases de resultado de comunicación entre métodos

Skoruba.Duende.IdentityServer.Admin.BusinessLogic

Business Logic layer for the administration of the Duende IdentityServer

UltronFramework.Domain

Es un componente básico que ofrece implementaciones de dominio sobre el framework

GitHub repositories (29)

Showing the top 20 popular GitHub repositories that depend on Riok.Mapperly:

Repository Stars
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
martinothamar/Mediator
A high performance implementation of Mediator pattern in .NET using source generators.
exceptionless/Exceptionless
Exceptionless application
velopack/velopack
Installer and automatic update framework for cross-platform desktop applications
recyclarr/recyclarr
Automatically sync TRaSH Guides to your Sonarr and Radarr instances
ThingsGateway/ThingsGateway
ThingsGateway is a cross-platform, high-performance gateway for edge data acquisition and IoT connectivity. Developed with .NET 8, it offers a suite of powerful tools, including advanced PLC communication libraries and debugging software.
lookup-foundation/RevitLookup
Interactive Revit RFA and RVT project database exploration tool to view and navigate BIM element parameters, properties and relationships.
bitfoundation/bitplatform
Build all of your apps using what you already know and love ❤️
mehdihadeli/food-delivery-microservices
🍔 A practical and cloud-native food delivery microservices, built with .Net Aspire, .Net 9, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
skoruba/Duende.IdentityServer.Admin
Modern admin UI for Duende IdentityServer and ASP.NET Core Identity 🚀
nkdAgility/azure-devops-migration-tools
Azure DevOps Migration Tools allow you to migrate Teams, Backlogs, Work Items, Tasks, Test Cases, and Plans & Suits from one Project to another in Azure DevOps / TFS both within the same Organisation, and between Organisations.
yanpitangui/dotnet-api-boilerplate
A Dotnet 9.0 WebApi template project. MediatR, Swagger, Mapper, Serilog and more implemented.
lofcz/FastCloner
The fastest deep cloning library for .NET – zero-config, works out of the box.
josephnhtam/live-streaming-server-net
A .NET implementation of RTMP live streaming server, supporting HTTP-FLV, WebSocket-FLV, HLS, Kubernetes, cloud storage services integration and more.
mehdihadeli/vertical-slice-api-template
🍰 An asp.net core template based on .Net 9, Vertical Slice Architecture, CQRS, Minimal APIs, OpenTelemetry, API Versioning and OpenAPI.
svrooij/WinTuner
Package any app from Winget to Intune - WinTuner
countincognito/Zametek.ProjectPlan
A simple, Open Source, and cross-platform desktop alternative to Microsoft Project for designing and creating project plans.
higty/higlabo
HigLabo library provide 1.AI client library(OpenAI, Anthoripic, Groq) 2.Object Mapper(fastest in the world) 3.DbSharp(DAL generator) 4.Other.(Mail, Ftp, Utility...etc)
Azure/iotedge-lorawan-starterkit
Sample implementation of LoRaWAN components to connect LoRaWAN antenna gateway running IoT Edge directly with Azure IoT.
harrison314/BouncyHsm
Bouncy Hsm is a software simulator of HSM and smartcard simulator with HTML UI, REST API and PKCS#11 interface.
Version Downloads Last Updated
5.0.0-next.8 36,072 5/14/2026
5.0.0-next.7 2,328 5/2/2026
5.0.0-next.6 79,784 4/14/2026
5.0.0-next.5 148 4/13/2026
5.0.0-next.4 707 4/10/2026
5.0.0-next.3 36,359 3/20/2026
5.0.0-next.2 9,025 2/17/2026
5.0.0-next.1 1,485 2/4/2026
5.0.0-next.0 7,681 12/24/2025
4.3.1 4,176,991 12/22/2025
4.3.1-next.0 5,532 12/4/2025
4.3.0 1,548,745 10/21/2025
4.3.0-next.6 4,408 10/15/2025
4.3.0-next.5 6,453 10/7/2025
4.3.0-next.4 5,239 9/18/2025
4.3.0-next.3 21,583 7/29/2025
4.3.0-next.2 30,823 6/16/2025
4.3.0-next.1 722 6/13/2025
4.3.0-next.0 2,343 5/27/2025
4.2.1 4,022,568 4/23/2025
Loading failed

🐛 Bug Fixes

fix: Stackoverflow on readonly self reference by @faddiv in #1991

fix: use global prefix for enum parse invocation by @latonz in #2021

fix: call extension block methods correctly in inlined expression mappings by @latonz in #2051

fix: prevent reporting derived type on mapping from source by @faddiv in #2025

fix: support external mappings when auto user mappings are disabled by @faddiv in #2063

Full Changelog: https://github.com/riok/mapperly/compare/v4.3.0...v4.3.1