Content added in aspnet-core/content/111-object-mapping

pull/3294/head
mouaaz 2 years ago
parent 16b1ec96b1
commit 4f84f35bcf
  1. 12
      src/roadmaps/aspnet-core/content/111-object-mapping/100-atuo-mapper.md
  2. 11
      src/roadmaps/aspnet-core/content/111-object-mapping/101-express-mapper.md
  3. 11
      src/roadmaps/aspnet-core/content/111-object-mapping/102-agile-mapper.md
  4. 10
      src/roadmaps/aspnet-core/content/111-object-mapping/103-mapster.md
  5. 12
      src/roadmaps/aspnet-core/content/111-object-mapping/index.md

@ -1 +1,11 @@
# Atuo mapper
# Auto Mapper
AutoMapper is a library for .NET that allows you to easily map between objects of different types. It is particularly useful when working with domain models and data transfer objects (DTOs) in a layered architecture. It can also be used to map between different versions of an object, or to map between objects in different formats, such as JSON and XML.
AutoMapper uses a convention-based approach to mapping, which means that it automatically maps properties with the same name and type from one object to another. It also provides a fluent API for configuring more complex mappings, such as ignoring certain properties, using custom logic to map properties, or mapping properties based on a value in another property.
To learn more, visit the following resources:
- [What is Automapper in ASP.NET?](https://www.simplilearn.com/tutorials/asp-dot-net-tutorial/automapper-in-c-sharp)
- [Getting Started with AutoMapper in ASP.NET](https://code-maze.com/automapper-net-core/)
- [Examples of AutoMapper in ASP.NET](https://dotnettutorials.net/lesson/automapper-in-c-sharp/)

@ -1 +1,10 @@
# Express mapper
# Express Mapper
ExpressMapper is an open-source object-to-object mapping library for .NET, similar to AutoMapper. It allows you to easily map between objects of different types, and it is particularly useful when working with domain models and data transfer objects (DTOs) in a layered architecture.
ExpressMapper uses a convention-based approach to mapping, which means that it automatically maps properties with the same name and type from one object to another. It also provides a fluent API for configuring more complex mappings, such as ignoring certain properties, using custom logic to map properties, or mapping properties based on a value in another property.
To learn more, visit the following links:
- [Intro to Express Mapper](https://expressmapper.org/)
- [Express Mapper - The New .NET Mapper](https://www.codeproject.com/Tips/1009198/Expressmapper-The-New-NET-Mapper)

@ -1 +1,10 @@
# Agile mapper
# Agile Mapper
AgileMapper is an open-source, convention-based object-to-object mapping library for .NET, similar to AutoMapper and ExpressMapper. It allows you to easily map between objects of different types, and it is particularly useful when working with domain models and data transfer objects (DTOs) in a layered architecture.
AgileMapper uses a convention-based approach to mapping, which means that it automatically maps properties with the same name and type from one object to another. It also provides a fluent API for configuring more complex mappings, such as ignoring certain properties, using custom logic to map properties, or mapping properties based on a value in another property.
To learn more, visit the following links:
- [Comparison of Object Mapper Libraries](https://www.simplilearn.com/tutorials/asp-dot-net-tutorial/automapper-in-c-sharp)
- [Overview of Agile Mapper](https://readthedocs.org/projects/agilemapper/)

@ -1 +1,11 @@
# Mapster
Mapster is an open-source, high-performance object-to-object mapping library for .NET, similar to AutoMapper, ExpressMapper, AgileMapper, and AgileMapster. It allows you to easily map between objects of different types, and it is particularly useful when working with domain models and data transfer objects (DTOs) in a layered architecture.
Mapster uses a convention-based approach to mapping, which means that it automatically maps properties with the same name and type from one object to another. It also provides a fluent API for configuring more complex mappings, such as ignoring certain properties, using custom logic to map properties, or mapping properties based on a value in another property.
To learn more, visit the following links:
- [Getting Started With Mapster in ASP.NET](https://code-maze.com/mapster-aspnetcore-introduction/)
- [Overview of Mapster in .Net ](https://medium.com/@M-S-2/enjoy-using-mapster-in-net-6-2d3f287a0989)
- [Introduction to Mapster](youtube.com/watch?v=bClE7Uon9e8)

@ -1 +1,11 @@
# Object mapping
# Object Mapping
Object mapping in ASP.NET refers to the process of converting an object of one type to an object of another type. This can be useful in a number of scenarios, such as when working with domain models and data transfer objects (DTOs) in a layered architecture, or when mapping between different versions of an object or different formats such as JSON and XML.
There are several libraries available for object mapping in ASP.NET, such as AutoMapper, ExpressMapper, AgileMapper, AgileMapster and Mapster. These libraries provide a convenient and flexible way to map between objects, using a convention-based approach or a fluent API to configure more complex mappings. They also support for a wide range of mapping scenarios, including nested and circular object graphs, collections, and different types of inheritance.
Visit the following links to learn more:
- [Building a Fast Object-to-Object Mapper in .NET](https://www.twilio.com/blog/building-blazing-fast-object-mapper-c-sharp-net-core)
- [Overview of Object Mapping in ASP.NET](https://docs.abp.io/en/abp/latest/Object-To-Object-Mapping)
- [Comparison of Object Mapper Libraries](https://www.simplilearn.com/tutorials/asp-dot-net-tutorial/automapper-in-c-sharp)

Loading…
Cancel
Save