Use DAPPER To Create a .Net 7 CRUD Api & Call Stored Procedures

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ม.ค. 2025

ความคิดเห็น • 15

  • @IsraelQuiroz
    @IsraelQuiroz  ปีที่แล้ว +2

    Will you guys be using Dapper over Entity Framework in your next .Net API? Let me know why you are or why not! :)

  • @LuisHernandez-li4fy
    @LuisHernandez-li4fy ปีที่แล้ว

    Dude thank you! I've been waiting for a video like this!

    • @IsraelQuiroz
      @IsraelQuiroz  ปีที่แล้ว +1

      Happy to hear that, I picked the right topic then! haha appreciate all the support!

    • @LuisHernandez-li4fy
      @LuisHernandez-li4fy ปีที่แล้ว

      @@IsraelQuiroz Yes, I'm surprised that you don't have more subscribers! your content is great and you are very knowledgeable! Please keep posting more videos!

    • @IsraelQuiroz
      @IsraelQuiroz  ปีที่แล้ว

      haha thanks that's very kind! its TH-cam what can i say its a journey
      but i appreciate that and for sure will do!

  • @julianlumetsberger4151
    @julianlumetsberger4151 ปีที่แล้ว

    great video as always!

    • @IsraelQuiroz
      @IsraelQuiroz  ปีที่แล้ว

      Thank u for the support like always Julian!! :)

  • @guillermomazzari8320
    @guillermomazzari8320 ปีที่แล้ว

    I use ADO about 90% of the time, but now I am moving to dapper, I prefer using stored procedures always, let sql do sql stuff, for me, it is better that way, thanks for a great vid, new sub bro!

    • @IsraelQuiroz
      @IsraelQuiroz  ปีที่แล้ว +1

      Happy to have u here!! Welcome!!! 😊 I specialize in Angular C# .Net & Azure so hope u find future content helpful too!!!
      After really diving into Dapper I see why people like it, it just makes more sense! I hate how EF gatekeeps alot and ESPECIALLY with Stored Procedures Dapper is king!

    • @guillermomazzari8320
      @guillermomazzari8320 ปีที่แล้ว

      @@IsraelQuiroz have you tried balzor out?? I love it , it is very useful as a C# dev

  • @anthonybaraujogarcia2061
    @anthonybaraujogarcia2061 ปีที่แล้ว

    Thanks, one question how do you scaffold your models?

    • @IsraelQuiroz
      @IsraelQuiroz  ปีที่แล้ว +1

      I use EF for the scaffolding!
      dotnet ef dbcontext scaffold "Server=.;Database=SampleDatabase;Trusted_Connection=True;TrustServerCertificate=True" Microsoft.EntityFrameworkCore.SqlServer -o Models --force
      I used this exact command for this project, i dont believe Dapper has anything to scaffold since i usually do DB first alot of times and its quicker that making models by hand

  • @viktorrimoru797
    @viktorrimoru797 ปีที่แล้ว

    Nice Tutorial. You just got a new subscriber! why Singleton Lifetime for DapperContext over Scoped Lifetime. Any performance benefit ?

    • @IsraelQuiroz
      @IsraelQuiroz  ปีที่แล้ว

      Thank you!!! and welcome! honestly i didnt even think about it, if i could do it over, ide probably use Scoped
      No reason just was more focused on the Dapper haha