.NET 8 🔥🚀 : Guide to AutoMapper - Simplify Your Object Mapping

  Рет қаралды 11,808

Mohamad Lawand

Mohamad Lawand

Күн бұрын

In this video we will discussed AutoMapper and how we can utilise it in our applications
Support me on Patreon to access the source code:
/ mohamadlawand
Base App: • .NET 7 💥 - ASP.NET C...
Let us connect:
🌍 My website - mohamadlawand.com
📸 Instagram - / mohamadlawand087
🐦 Twitter - / moe23
♯ Github - github.com/moh...
🎫 LinkedIn - / mlawand
💥 LinkTree - linktr.ee/moha...
Discord - / discord
Gear I use (affiliate link): amzn.to/3EbT8Jw
Support my work:
/ mohamadlawand
www.buymeacoff...
Hire Me:
transactions.s...
WHO AM I:
I'm Mohamad, a Enterprise Architect working in Manchester, UK. I make videos about web, cloud, desktop and mobile development.
GET IN TOUCH:
If you’d like to talk, I’d love to hear from you. Tweeting @moe23 directly will be the quickest way to get a response, but if your question is very long, feel free to email me at hello@mohamadlawand.com.
#dotnet #automapper #optimisation

Пікірлер: 23
@keithcarrillo8238
@keithcarrillo8238 6 ай бұрын
If anyone gets "The call is ambiguous between the following methods or properties: 'Microsoft.Extensions.DependencyInjection . . ." It's because Automapper already includes Microsoft.Extensions.DependencyInjection in it's package. When you type 'dotnet add package Automapper' you're already adding Microsoft.Extensions.DependencyInjection. So remove it by typing 'dotnet remove package Automapper.Extensions.Microsoft.DependencyInjection' in your terminal.
@pedrosoares2018
@pedrosoares2018 6 ай бұрын
Thanks bro
@fariddibirov9369
@fariddibirov9369 6 ай бұрын
Thank you very much!
@jorgemedina2272
@jorgemedina2272 3 ай бұрын
Thanks bro!
@markshv4293
@markshv4293 16 күн бұрын
I really recommend to use Mapperly library instead of Automapper. You will more happier developer with Mapperly than with Automapper.
@MohamedGamal-of2en
@MohamedGamal-of2en 6 күн бұрын
MashAllah, very clear explanation
@BenjiPope
@BenjiPope 18 күн бұрын
Thanks. Helpful explanation :)
@AsifZaffar-i7k
@AsifZaffar-i7k 24 күн бұрын
I am getting this below error after writing this code: builder.Services.AddAutoMapper(AppDomain.CurrentDomain.GetAssemblies()); Error: The call is ambiguous between the following methods or properties: 'Microsoft.Extensions.DependencyInjection.ServiceCollectionExtensions.AddAutoMapper(Microsoft.Extensions.DependencyInjection.IServiceCollection, params System.Reflection.Assembly[])' and 'Microsoft.Extensions.DependencyInjection.ServiceCollectionExtensions.AddAutoMapper(Microsoft.Extensions.DependencyInjection.IServiceCollection, params System.Reflection.Assembly[])'CS0121
@nice_2_know
@nice_2_know 8 ай бұрын
Can send paramerter when using projectTo() method 🙄?? But still query as Querable not transfer to Enumerable ? Can I do that ?!
@chintalapativenkataramarahul
@chintalapativenkataramarahul 2 ай бұрын
Unable to understand when you talk so fast
@soohyunjeon9348
@soohyunjeon9348 7 ай бұрын
I would like to make a donation to you. Please enable KZbin's one-time donation feature. Thank you so much for the great video. 당신에게 기부를 하고 싶습니다. 유튜브의 일회성 기부 기능을 활성화 해주세요. 좋은 영상에 너무나도 감사드립니다.
@germannunez490
@germannunez490 2 ай бұрын
hello pal, could you update your video, is deprecate with the last version. and can add multiple layers to see different ways to do it, thanks bro.
@nasermasri9954
@nasermasri9954 7 ай бұрын
استمر اخي، I have nested list with prop Id this is in source model and I couldn't map it with the destination model which is not a nested list.
@rajendrasyam6971
@rajendrasyam6971 8 ай бұрын
Please let me know what is AutoMapper Reverse Mapping..........how do i use it?
@mostafaosman4162
@mostafaosman4162 8 ай бұрын
جزاكم الله خيرا ❤
@charles_kuperus
@charles_kuperus 5 ай бұрын
Never use automapper. Rather use mapperly.
@ivanzhukov2914
@ivanzhukov2914 6 ай бұрын
Thank you for the video, it's usefull for me!
@ahmedh2482
@ahmedh2482 5 ай бұрын
why you drifting bro ?! Looks like someone driving a Porsche, As someone who has an interview and wants to prove his knowledge ! And I saw that not only in this video, we here to learn from you .. remember that
@safiullah7187
@safiullah7187 8 ай бұрын
Nice brother, Jazakallah khair
@clivebird5729
@clivebird5729 5 ай бұрын
Awesome.
@myWorldDiscover
@myWorldDiscover 8 ай бұрын
very cool 🎉
@soohyunjeon9348
@soohyunjeon9348 7 ай бұрын
감사합니다.
@MohamadLawand
@MohamadLawand 7 ай бұрын
Thank you for your support
Blazor in 100 Seconds
2:33
Fireship
Рет қаралды 581 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 23 МЛН
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 69 МЛН
The Logging Everyone Should Be Using in .NET
15:34
Nick Chapsas
Рет қаралды 71 М.
Mapping C# data with AutoMapper - Complete tutorial for beginners
12:47
5 Rules For DTOs
17:56
Ardalis
Рет қаралды 42 М.
The 3 Biggest Mistakes of Object Mapping in .NET
11:33
Nick Chapsas
Рет қаралды 64 М.
.NET 6 - AutoMapper & Data Transfer Objects (DTOs) 🗺
54:41
Mohamad Lawand
Рет қаралды 17 М.
Fix Your Controllers By Refactoring To Minimal APIs
14:56
Milan Jovanović
Рет қаралды 41 М.
.NET 8  💥 - Event Driven Architecture with SQS (step by step)
23:23
Await Async Tasks Are Getting Awesome in .NET 9!
9:24
Nick Chapsas
Рет қаралды 96 М.
EF Core Performance Optimization Challenge | 233x FASTER
14:42
Milan Jovanović
Рет қаралды 67 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17