Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
C# Automapper: Code Smart
Rating: 4.1 out of 5(253 ratings)
11,817 students

C# Automapper: Code Smart

Busy developer? Do you want to code clean and smart? Take this course and master Automapper tool!
Created byRadim Motycka
Last updated 1/2019
English
English [Auto],

What you'll learn

  • Master Automapper tool and write clean and decoupled code
  • Start coding effectively

Course content

2 sections13 lectures1h 10m total length
  • Course Introduction1:36

    Explore AutoMapper, a convention-based object mapping library, to map domain models to your models with minimal configuration. Install via NuGet (MIT licensed) and follow a pragmatic, step-by-step approach.

  • Install and Setup3:45

    Install and set up AutoMapper by adding the dependency, define source and destination classes, configure mapping with create map, and map a source instance to a destination instance.

  • Static vs Instance API4:13

    Compare static and instance api in c# automapper, highlighting static methods for simplicity and potential performance, while showing instance configuration via dependency injection and factory methods.

  • Profiles7:03

    Learn how to create and register AutoMapper profiles, map between source and destination classes, and implement date-time mappings such as extracting hour, minute, and second.

  • Dependency Injection8:54

    Learn how to implement dependency injection in a .NET app by configuring a singleton mapping instance in startup and injecting it into a controller to map items.

Requirements

  • Basic C# programming knowledge.

Description

Are you a student or professional in the field of software engineering using .NET and are you fed up by mapping same types again and again? Have you been looking for a quick and easy way how to handle this deceptively complex problem? Why not to use tool which will allow you to handle mapping among types automatically? Which will allow you to handle custom logic and mapping in decoupled way?

Take the course C# Automapper: Code Smart and move to clean and decoupled code.

Who this course is for:

  • C# programmers interested in clean code and new programming techniques.