Magic.AutoMapper.Extensions.Microsoft.DependencyInjection 1.0.0

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

// Install Magic.AutoMapper.Extensions.Microsoft.DependencyInjection as a Cake Tool
#tool nuget:?package=Magic.AutoMapper.Extensions.Microsoft.DependencyInjection&version=1.0.0                

Magic AutoMapper

Helper to automatic configure mappings with Automapper

What is Magic AutoMapper?

When we work with AutoMapper in a project normally we have an flat and basic profiles to configure maps like csharp Mapper.Map<entity,entityDto>(); where all properties of DTO type are equals (type and name) than source entity.

Magic AutoMapper simplify the way to configure this maps without need create a especific profiles. Maps will be defined into Dto class declaration.

You only need do something like that to Magic Automapper work:

using Magic.AutoMapper;
    
public class EntityDto : IMapFrom<Entity>
{
    public int Id { get; set; }
    public string DataName { get; set; }
}

This library is based in an original idea of Jason Taylor, exposed in NDC Sydney 2019 conference.

Getting Started

Comming Soon

Acknowledgements

Code of conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

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

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 861 2/15/2024
1.2.0 194 2/2/2024
1.1.0 283 12/3/2023
1.0.0 9,684 10/26/2021
0.0.0 388 10/26/2021