AutoMapper Clone using C# Reflection

Поділитися
Вставка
  • Опубліковано 21 жов 2024
  • How to create an automapper using Reflection in c# dotnet
    Patreon 🤝 / raw_coding
    Courses 📚 learning.raw-c...
    Shop 🛒 shop.raw-codin...
    Discord 💬 / discord
    Twitter 📣 / anton_t0shik
    Twitch 🎥 / raw_coding
    Make sure to check out other videos:
    Expression API Clone: • AutoMapper Clone using...
    IL Generator: • AutoMapper Clone using...
    Source Generators: • AutoMapper Clone using...
    Roslyn at Runtime: • AutoMapper Clone using...
    Performance: • AutoMapper Clone Perfo...
    Sauce 🥣 github.com/raw...
    #csharp #dotnet #automapper

КОМЕНТАРІ • 20

  • @SaveTheHedgehog
    @SaveTheHedgehog 2 роки тому +1

    Wanna say thanks for all your effort and teaching me by doing :) Just discovered your channel.

  • @saadaldulaijan4957
    @saadaldulaijan4957 2 роки тому +3

    Thank you Anton, your content is unique as always.

  • @marcusnatteldal5281
    @marcusnatteldal5281 2 роки тому +2

    I really appreciate your videos, learning so many new things, thank you!

    • @RawCoding
      @RawCoding  2 роки тому

      thank you for watching

  • @mfsbo
    @mfsbo 2 роки тому

    From 5:00 onward its in Mapper with generic type even more cool

  • @abdulnaveed4984
    @abdulnaveed4984 Рік тому +1

    thanks Anton :)

  • @mfsbo
    @mfsbo 2 роки тому

    From 1:30 to 2:30 is get all properties from A and B which is useful

  • @sunnypatel1045
    @sunnypatel1045 2 роки тому +1

    Anton thank you so much! I got a nuget project where I can’t import automapper but it’s doing a lot of manual mappings which is massive! This will work perfectly! Could you do a video on automapper resolvers? Also can this be unit testable?

    • @RawCoding
      @RawCoding  2 роки тому +1

      I don’t use auto mapper so no video on it

  • @patrykklimas4398
    @patrykklimas4398 2 роки тому +1

    What do you think about creating this using private properties injected via constructor :) ?

  • @yourockst0ne
    @yourockst0ne 2 роки тому +1

    Look at the number of fingers in the thumbnail to know where you are in the series. This is part 4. Anton's sneaky like that, no shame. Do be Makin' us look for clues ... That's some CSI shit right there. C'mon Man 😱

    • @RawCoding
      @RawCoding  2 роки тому +1

      Haha, yep super sneaky subliminal messages shit

    • @yourockst0ne
      @yourockst0ne 2 роки тому

      Next week:
      How to use reflection for thought generation in external human systems

  • @LokizZzZZzz
    @LokizZzZZzz 2 роки тому +1

    Привет! А ты будешь сравнивать представленные реализации мапперов по производительности? Можно было бы написать небольшой бенчмарк и сравнить все способы :)

    • @RawCoding
      @RawCoding  2 роки тому

      Да эт будет после следующего видоса

    • @LokizZzZZzz
      @LokizZzZZzz 2 роки тому +1

      @@RawCoding к душе больше всего лежит рефлексия, а вот по производительности кажется, что это не лучший вариант :) будем посмотреть.