What is the use of C# Automapper ?

preview_player
Показать описание

See our other Step by Step video series below :-

Automapper is a simple reusable component which helps you to copy data from object type to other. Automapper is used very widely in MVC and C# projects.

Рекомендации по теме
Комментарии
Автор

Do not miss our Interview Question video series

dnfvideo
Автор

The simplest video on using AutoMapper, excellent stuff as always :)

sanketss
Автор

The simplest and the best one I could find online. Thank you.

kunalshah
Автор

Thank you for the vid, you are very good teacher. i am following C# tutorials from udemy and the course didn't explain all these packages and your video enlightened me a ton. Millions of thanks!

hongcai
Автор

Zabardast video Koirala ji. Loads of love for you from across the border!

aftabkashif
Автор

I din't knew how to map properties with different names..
Thank you so much...now I do.... :)

RobinRana
Автор

Simple and straightforward. All I ever asked for.
Thank you!

Linkario
Автор

Best Explanation as Always.. Love the way you narrate.. :)

roomuser
Автор

i like these kind of videos... Good explanation.

johannesgansowen
Автор

Very simple an easy to understand example. Thanks for the video.

DanielPila
Автор

A very simple and a very informative video. Thanks

vincentsolon
Автор

Koirala, brother u did great job. It seems ur passion. Thanks alot for nice video

tmkhandl
Автор

I don't know how people can dislike this video, Though the count is very low but WHY? .. Sir, you explained so nicely.

melodysaga
Автор

Perfect explanation to understand AutoMapper.. Thank U sir

sandipsandal
Автор

Good explanation, nice video. Thanks.

MrElChristoph
Автор

It was a great vídeo my friend. Practical and simple.

joseuseche
Автор

Good explanation with a simple example

JagadeeshMusali
Автор

Thanks Sir, however from 30000 feet above it seems we are saving lines of code from one end (not mapping class properties one by one) and writing to the other end.(Assuming the property name won't usually match)

amland
Автор

Best explanation. and simple and complete.

prateekchaurasiya
Автор

Most of the time I want to add additional properties to a POCO like an IFormFile.
Is it still better to create an automapper for this or can I subclass the model class in the viewmodel class then unbox into the model class when I want to persist to dB.
Like so
public class User{}
public class UserViewModel : User{
//some properties...
}
void addUser(UserViewModel uvm) {
//some manipulations
//like saving image to wwwroot
//and assigning location to profileURL

User model = uvm;
//code to persist
}

victorchisomnwisu