Simplify Database Access in a .NET Application - DAPPER TUTORIAL

Поділитися
Вставка
  • Опубліковано 6 вер 2024

КОМЕНТАРІ • 20

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

    Sean always comes in clutch with the easy to digest and understand videos

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

    Thanks for the tutorial. Just one observation, Dapper does object deconstruction so it is fine to use directly your DTO as dapper parameter object.

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

    I just came across this video and you explain it very well. I just have a quick general question. With Dapper you write your own queries which is a lot more flexible than EF. What I do wonder is if you have a large project you have queries throughout the the entire application. I can imagine that it might become difficult to manage this and know where which queries are. How do you manage all your queries in a large (enterprise) application?

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

    awesome tutorial as always! thank you for your hard work

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

      Thanks Anecthor, and as always, thank you for being a long time supporter of the channel!

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

    11:18 I don't recommend using Automapper, from bitter experience. With a project of any size, it suits team working very badly. Nobody knows what should or shouldn't go into a mapping, and it ends up as a mess. Then, ultimately, nobody knows what gets mapped to what. You are genuinely better off just having explicit mapping functions instead. If there's any doubt as to what gets mapped to what, you can just look at the mapping functions, and everything is explicitly in there. Automapper is one of those really nice ideas that turns out to be a menace in practice.

    • @SingletonSean
      @SingletonSean  Рік тому

      I completely agree! I was considering a video on this. I feel like a lot of people (including me in the past) immediately reach for AutoMapper out of habit. In reality, it's wayyy easier to just implement and follow your own explicit mapping functions. I've always found AutoMapper to be annoying to setup anyways. Thanks for bringing this up!

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

    Hi. Have you thought about creating a new series with .NET MAUI?

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

      Hey Adison, I definitely will! I've played around with .NET MAUI previews and am looking forward to it, but I'm waiting for the official release before I start using it.

  • @rolikaseventysix
    @rolikaseventysix Рік тому

    Thanks dude!

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

    hey, do you have a many-to-many relation video with enums. Like assigning User Privileges.

  • @ivandrofly
    @ivandrofly Рік тому

    Thanks again

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

    Thanks a lot, I was waiting for this

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

    it’s about time

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

    Dapper, my favorite ORM

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

    Good job Sean!

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

    I love dapper, always use it in my projects. it lets me insert 1,5 mln of records in just 1,2 seconds (postgresql)

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

    Very prof but too fast for me. Thanks.