Mapster 2.1.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Mapster --version 2.1.2
NuGet\Install-Package Mapster -Version 2.1.2
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="Mapster" Version="2.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mapster --version 2.1.2
#r "nuget: Mapster, 2.1.2"
#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.
// Install Mapster as a Cake Addin
#addin nuget:?package=Mapster&version=2.1.2

// Install Mapster as a Cake Tool
#tool nuget:?package=Mapster&version=2.1.2

A fast, fun and stimulating object to object mapper.  Kind of like AutoMapper, just simpler and way, way faster.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
.NETPlatform dotnet54 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (316)

Showing the top 5 NuGet packages that depend on Mapster:

Package Downloads
Mapster.DependencyInjection

Dependency Injection supports for Mapster

Furion.Extras.ObjectMapper.Mapster

Furion 对象映射 Mapster 插件。

MPACKAGE.LibDomain

Package Description

Mapster.EFCore

EFCore plugin for Mapster

Indigina.Reactive

This NuGet package contains MediatR extensions for Indigina projects.

GitHub repositories (39)

Showing the top 5 popular GitHub repositories that depend on Mapster:

Repository Stars
anjoy8/Blog.Core
💖 ASP.NET Core 8.0 全家桶教程,前后端分离后端接口,vue教程姊妹篇,官方文档:
fullstackhero/dotnet-webapi-starter-kit
production grade .net 8 webapi starter kit with multitenancy support and clean code. 🔥
MonkSoul/Furion
Make .NET development easier, more versatile, and more popular.
xunkong/xunkong
记录旅途中发生的事
meysamhadeli/booking-microservices
Practical microservices, built with .Net 8, DDD, CQRS, Event Sourcing, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
Version Downloads Last updated
7.4.1-pre01 56,324 9/22/2023
7.4.0 1,952,781 9/21/2023
7.4.0-pre06 129,051 2/26/2023
7.4.0-pre05 41,699 1/7/2023
7.4.0-pre04 5,934 1/3/2023
7.4.0-pre03 141,362 6/27/2022
7.4.0-pre02 20,387 4/5/2022
7.4.0-pre01 35,145 4/4/2022
7.3.0 9,401,043 2/20/2022
7.2.0 5,152,800 4/10/2021
7.1.5 650,620 2/24/2021
7.1.3 212,186 1/24/2021
7.0.1 433,461 11/26/2020
7.0.0 147,737 11/12/2020
6.5.1 278,015 10/23/2020
6.5.0 396,172 8/19/2020
6.1.1 49,466 8/6/2020
6.0.0 27,738 7/30/2020
5.3.2 349,579 5/29/2020
5.3.1 55,971 5/12/2020
5.3.0 148,279 4/10/2020
5.2.0 96,518 3/14/2020
5.1.0 47,064 3/3/2020
5.0.0 779,023 2/2/2020
4.1.1 598,491 10/19/2019
4.1.0 724,454 6/15/2019
4.0.0 287,123 4/13/2019
3.3.2 123,905 3/6/2019
3.3.1 86,247 2/5/2019
3.3.0 102,387 1/29/2019
3.2.0 430,213 9/9/2018
3.1.8 540,970 11/16/2017
3.1.7 2,751 11/11/2017
3.1.6 70,052 10/15/2017
3.1.5 13,050 10/9/2017
3.1.4 6,278 10/1/2017
3.1.3 40,486 8/22/2017
3.1.1 23,894 6/19/2017
3.1.0 6,553 6/11/2017
3.0.4 23,784 5/28/2017
2.6.1 53,277 12/8/2016
2.6.0 2,175 12/3/2016
2.5.0 72,994 8/7/2016
2.4.3 3,656 7/14/2016
2.4.2 2,153 7/4/2016
2.4.1 2,118 6/22/2016
2.4.0 2,045 6/18/2016
2.3.0 27,797 3/18/2016
2.1.2 7,341 2/15/2016
2.1.1 2,150 1/29/2016
2.1.0 2,244 1/25/2016
2.0.4 1,949 1/21/2016
2.0.3 1,966 1/20/2016
2.0.2 1,896 1/19/2016
2.0.1 1,919 1/19/2016
2.0.0 1,898 1/19/2016
1.14.0 20,571 3/4/2015
1.12.0 10,018 3/2/2015

Release Notes (2.0)
- Performance improvement (2-3x)
- Projection is improved to generate better sql queries
- Mapster is now able to map structs
- Flagged enums are supported
- You can now both opt-in and opt-out of settings
- Settings inheritance is able to inherit from interfaces
- Settings inheritance is now combined (it does not only pick from the closest parent)
- New rule based settings, you can defined your settings at a more granular level
- Settings are no longer only static, you can use different setting configurations for particular mappings
- You can ignore properties by attributes
- Now you can set up mapping between different types. Ex: config.Map(dest => dest.AgeString, src => src.AgeInt)
- Mapster now supports circular reference mapping!
- Supports more frameworks (.NET 4.0, 4.5, .NET Core RC 5.4)

Added in 2.1.0
- Support for Projecting to List<T>
- Support for Assembly scanning for registration
- Small optimizations
- Consistency improvements for Registration patterns