Mapster 2.0.4

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

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

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 (372)

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 插件。

Mapster.EFCore

EFCore plugin for Mapster

MPACKAGE.LibDomain

Package Description

Mapster.Async

Async supports for Mapster

GitHub repositories (49)

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

Repository Stars
DotNetNext/SqlSugar
.Net aot ORM Fastest ORM Simple Easy VB.NET Sqlite orm Oracle ORM Mysql Orm 虚谷数据库 postgresql ORm SqlServer oRm 达梦 ORM 人大金仓 ORM 神通ORM C# ORM , C# ORM .NET ORM NET5 ORM .NET6 ORM ClickHouse orm QuestDb ,TDengine ORM,OceanBase orm,GaussDB orm ,Tidb orm Object/Relational Mapping
fullstackhero/dotnet-starter-kit
Production Grade Cloud-Ready .NET 8 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
anjoy8/Blog.Core
💖 ASP.NET Core 8.0 全家桶教程,前后端分离后端接口,vue教程姊妹篇,官方文档:
aspnetrun/run-aspnetcore-microservices
Microservices on .NET platforms used ASP.NET Web API, Docker, RabbitMQ, MassTransit, Grpc, Yarp API Gateway, PostgreSQL, Redis, SQLite, SqlServer, Marten, Entity Framework Core, CQRS, MediatR, DDD, Vertical and Clean Architecture implementation with using latest features of .NET 8 and C# 12
MonkSoul/Furion
Make .NET development easier, more versatile, and more popular.
Version Downloads Last updated
7.4.1-pre01 136,141 9/22/2023
7.4.0 4,863,264 9/21/2023
7.4.0-pre06 159,657 2/26/2023
7.4.0-pre05 48,729 1/7/2023
7.4.0-pre04 6,882 1/3/2023
7.4.0-pre03 148,470 6/27/2022
7.4.0-pre02 21,373 4/5/2022
7.4.0-pre01 35,361 4/4/2022
7.3.0 11,145,064 2/20/2022
7.2.0 5,446,176 4/10/2021
7.1.5 709,095 2/24/2021
7.1.3 223,232 1/24/2021
7.0.1 459,262 11/26/2020
7.0.0 153,322 11/12/2020
6.5.1 348,887 10/23/2020
6.5.0 423,117 8/19/2020
6.1.1 52,310 8/6/2020
6.0.0 31,420 7/30/2020
5.3.2 372,781 5/29/2020
5.3.1 58,116 5/12/2020
5.3.0 154,777 4/10/2020
5.2.0 101,659 3/14/2020
5.1.0 49,729 3/3/2020
5.0.0 859,868 2/2/2020
4.1.1 644,194 10/19/2019
4.1.0 746,189 6/15/2019
4.0.0 294,125 4/13/2019
3.3.2 129,846 3/6/2019
3.3.1 89,618 2/5/2019
3.3.0 107,821 1/29/2019
3.2.0 450,393 9/9/2018
3.1.8 596,512 11/16/2017
3.1.7 2,791 11/11/2017
3.1.6 71,161 10/15/2017
3.1.5 13,973 10/9/2017
3.1.4 6,306 10/1/2017
3.1.3 41,139 8/22/2017
3.1.1 24,471 6/19/2017
3.1.0 7,412 6/11/2017
3.0.4 24,796 5/28/2017
2.6.1 54,001 12/8/2016
2.6.0 2,208 12/3/2016
2.5.0 77,799 8/7/2016
2.4.3 3,708 7/14/2016
2.4.2 2,173 7/4/2016
2.4.1 2,143 6/22/2016
2.4.0 2,065 6/18/2016
2.3.0 28,001 3/18/2016
2.1.2 7,450 2/15/2016
2.1.1 2,177 1/29/2016
2.1.0 2,271 1/25/2016
2.0.4 1,974 1/21/2016
2.0.3 1,987 1/20/2016
2.0.2 1,920 1/19/2016
2.0.1 1,942 1/19/2016
2.0.0 1,936 1/19/2016
1.14.0 21,149 3/4/2015
1.12.0 14,991 3/2/2015

- Performance improvement (2-3x)
- Projection is improved to generate nicer sql query
- Mapster is now able to map struct
- Flagged enum is supported
- You can now both opt-in and opt-out setting
- Setting inheritance is able to inherit from interface
- Setting inheritance is now combined (it does not only pick from the closest parent)
- New rule based setting, you can defined your setting more granular level
- Setting is no more static, you can overload your setting to use different setting for your mapping
- You can ignore properties by attributes
- Now you can setup your map from different type ie config.Map(dest => dest.AgeString, src => src.AgeInt)
- Mapster is now support circular reference mapping!
- Supported more frameworks (.NET 4.0, 4.5, .NET Core RC 5.4)