CommonNetFuncs.FastMap 4.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package CommonNetFuncs.FastMap --version 4.0.6
                    
NuGet\Install-Package CommonNetFuncs.FastMap -Version 4.0.6
                    
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="CommonNetFuncs.FastMap" Version="4.0.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommonNetFuncs.FastMap" Version="4.0.6" />
                    
Directory.Packages.props
<PackageReference Include="CommonNetFuncs.FastMap" />
                    
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 CommonNetFuncs.FastMap --version 4.0.6
                    
#r "nuget: CommonNetFuncs.FastMap, 4.0.6"
                    
#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 CommonNetFuncs.FastMap@4.0.6
                    
#: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=CommonNetFuncs.FastMap&version=4.0.6
                    
Install as a Cake Addin
#tool nuget:?package=CommonNetFuncs.FastMap&version=4.0.6
                    
Install as a Cake Tool

CommonNetFuncs.FastMap

License Build NuGet Version nuget

This lightweight project contains a helper method for fast mapping of properties between different objects in .NET applications based on property names.

Contents


FastMapper

A utility class for fast mapping of properties between different objects based on property names.

FastMapper Usage Examples

<details> <summary><h3>Usage Examples</h3></summary>

FastMap

Maps properties from one object to another based on matching property names using expression trees. Speed is comparable in performance to other mapping libraries like AutoMapper and Mapperly, but requires less (no) configuration, and does not rely on source generators to work.

public sealed class SimpleSource
{
    public required string StringProp { get; set; }
    public int IntProp { get; set; }
}

public sealed class SimpleDestination
{
    public required string StringProp { get; set; }
    public string? ExtraStringProp { get; set; }
    public int IntProp { get; set; }
}

SimpleSource source = new()
{
    StringProp = "Test",
    IntProp = 17,
};

SimpleDestination destination = source.FastMap<SimpleSource, SimpleDestination>();
// destination =
//{
//    StringProp = "Test",
//    ExtraStringProp = null,
//    IntProp = 17
//}

</details>

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CommonNetFuncs.FastMap:

Package Downloads
CommonNetFuncs.Web.Api

Generic API endpoints for use in an ASP.NET API

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.8 76 1/7/2026
4.0.6 107 1/2/2026
4.0.4 199 12/23/2025
4.0.3 168 12/22/2025
4.0.2 682 12/2/2025
4.0.1 180 11/27/2025
4.0.0 161 11/23/2025
3.8.28 88 1/5/2026
3.8.20 584 12/1/2025
3.8.18 405 11/20/2025
3.8.16 395 11/17/2025
3.8.13 271 11/10/2025
3.8.4 186 10/9/2025
3.7.17 203 9/11/2025
3.7.16 186 9/11/2025
3.7.13 191 9/8/2025
3.7.0 317 8/18/2025
3.6.27 183 8/18/2025
3.6.26 191 8/14/2025
3.6.25 197 8/13/2025
3.6.24 198 8/12/2025
3.6.19 176 7/28/2025
3.6.18 398 7/25/2025
3.6.6 529 7/21/2025
3.6.1 207 7/14/2025
3.6.0 216 7/14/2025
3.5.3 191 7/10/2025
3.5.0 195 7/7/2025
3.4.23 194 6/26/2025
3.4.21 190 6/26/2025
3.4.20 189 6/25/2025
3.4.8 365 6/11/2025
3.4.3 188 6/2/2025
3.4.2 214 6/2/2025
3.4.1 158 5/30/2025
3.4.0 167 5/30/2025
3.3.11 210 5/19/2025
3.3.10 288 5/13/2025
3.3.0 241 4/29/2025
3.2.13 251 2/13/2025
3.2.0 189 12/19/2024
3.1.0 205 12/6/2024
3.0.0 170 12/3/2024
2.1.3 186 12/3/2024
2.1.2 182 12/3/2024
2.1.0 173 12/2/2024
2.0.5 172 11/26/2024
2.0.2 183 11/18/2024
2.0.1 158 11/15/2024
2.0.0 162 11/14/2024
1.0.47 162 11/14/2024
1.0.42 211 11/12/2024
1.0.40 156 11/12/2024
1.0.37 189 11/4/2024
1.0.31 186 10/31/2024
1.0.28 200 10/25/2024
1.0.26 235 10/18/2024
1.0.25 167 10/17/2024
1.0.24 170 10/17/2024
1.0.18 192 10/11/2024
1.0.17 193 9/27/2024
1.0.16 193 9/27/2024
1.0.14 186 9/23/2024
1.0.13 201 9/18/2024
1.0.12 186 9/18/2024
1.0.11 168 9/18/2024
1.0.10 217 9/11/2024
1.0.9 211 9/11/2024
1.0.8 184 9/11/2024
1.0.7 215 9/11/2024
1.0.1 205 9/4/2024
1.0.0 204 9/2/2024