Тёмный

Learn Dapper in an Hour! (.NET Core 5) 

DotNetMastery
Подписаться 39 тыс.
Просмотров 55 тыс.
50% 1

Learn Dapper basics in under an Hour!
Dapper is the most famous Micro-ORM in .NET Community. We will learn the basics of Dapper and implement CRUD operation with that.
✏️ Course from Bhrugen Patel. Check out more of his courses:
🔗 Full Course: www.udemy.com/...
💻 All Courses: www.dotnetmaste...
It is recommended to know the basics of ASP.NET Core for this course.

Опубликовано:

 

12 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 66   
@saadmalaeb8372
@saadmalaeb8372 3 года назад
Dapper starts at 42:00
@babakkhoshnevis7152
@babakkhoshnevis7152 3 года назад
Golden Comment.
@shahzeb5130
@shahzeb5130 3 года назад
Very late to see your comments...
@ss_GOAT
@ss_GOAT 3 года назад
I saw your comment too late
@andiledumakude6135
@andiledumakude6135 2 года назад
Thank you
@StephenBeale
@StephenBeale 14 дней назад
so really the title should be 'learn dapper in 18 minutes' 🤣
@brunomiquelin1459
@brunomiquelin1459 3 года назад
Title says how to use dapper, but must of the video shows how to use EF Core
@virtualdars
@virtualdars 2 года назад
Thanks for the informative video. Good job. Correction in 49:26. Vulnerable to "SQL Injection" not "dependency injection" attacks.
@Galakyllz
@Galakyllz 2 года назад
Dapper install at 42:00 and using it at 46:00 The Company class implementation is at 15:00
@jacobstamm
@jacobstamm 2 года назад
Great tutorial, Bhrugen! You're absolutely right at 48:56 about always using parameterization to avoid SQL injection vulnerabilities, but just to be clear, it's only a vulnerability when the data you're appending has the ability of returning something that SQL could misinterpret. In this case, you're appending an int. There's no value of int which when converted to a string would be mishandled by SQL Server, so there's no risk here. On the other hand, if the id param were a string, then you'd be right, because the user might pass in something like "0; DROP TABLE Companies;" Again, it's better to just always use parameterization like you said, but I just want anyone who's curious to have a deeper understanding of what specifically makes something vulnerable to SQL injection.
@DotNetMastery
@DotNetMastery 2 года назад
Indeed!
@vl-yj3gb
@vl-yj3gb Год назад
thank you so much for the explanation
@paulkeating9259
@paulkeating9259 2 года назад
Bhrugen I reallly enjoy your teaching style and you have helped me so much already with my learning journy into C# ! Thanks for being awesome!
@DotNetMastery
@DotNetMastery 2 года назад
Thank you so much for the wonderful feedback!
@jethronong2076
@jethronong2076 3 года назад
Quality Video....Would love a series of this advancing more into Dapper
@prisy6c-1-aavanisatheesh39
@prisy6c-1-aavanisatheesh39 3 года назад
Good Tutorial.As a beginner of dapper and an experienced of EF,I can say it was very much helpful to understand the exact changes also. Thank you
@jaypot
@jaypot 3 года назад
At 49:00 by "dependency injection attacks" I think you meant "sql injection attacks"
@ronchennai
@ronchennai 2 года назад
I was about to comment the same, and wanted to see just in case if any one else has caught it, and there you have !!
@SowmiyaChandrasekar14
@SowmiyaChandrasekar14 3 года назад
Pls post dapper full course sir
@gokhanatlgan6030
@gokhanatlgan6030 2 года назад
Oh, thats good. Entity Framework is very bad for performance. Update is sucks with EF, I like typing sql queries myself. Yes it's hard sometimes but, everything is only my hands.
@ersamkul
@ersamkul 3 года назад
Good one. Thank you!!
@AlThePal78
@AlThePal78 2 года назад
Which you do you prefer Mr. Patel?
@DotNetMastery
@DotNetMastery 2 года назад
Dapper for large scale project! Hands down
@AlThePal78
@AlThePal78 2 года назад
@@DotNetMastery what is considered a large scale?
@lemurza5236
@lemurza5236 3 года назад
Dude it was like 10 minutes of dapper the rest was Entiry Framework. You didn't even show how to map relationships
@xanaducsp
@xanaducsp 2 года назад
it is posible use a Transaction?, do yo have an example?
@almrhabii
@almrhabii Год назад
hi . have you explain register and login in dapper environment >>
@almrhabii
@almrhabii Год назад
core 6
@prashantkori8245
@prashantkori8245 Год назад
.net 6 and above does not t have startup file what to do
@peanut-d-cat
@peanut-d-cat 3 года назад
this is gold!. thank you
@ijazkhan-mq4jy
@ijazkhan-mq4jy 3 года назад
Realistic video thanks
@BinaryAgent66
@BinaryAgent66 4 года назад
Excellent video. One comment, at ~49 mins, it's SQL Injection attacks, rather than dependency injection.
@omotayoiginla1270
@omotayoiginla1270 3 года назад
i noticed this too.
@sergiob3698
@sergiob3698 4 года назад
Thank you great video! When will be available the release of .net 5 ? is the preview stable?
@DotNetMastery
@DotNetMastery 4 года назад
.net 5 will be released in nov!
@sergiob3698
@sergiob3698 4 года назад
@@DotNetMastery Thank you
@sportscompilation2218
@sportscompilation2218 2 года назад
its very wrong approach, using connection initialization in Constructor will give "Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached" errors
@arindamghosh636
@arindamghosh636 3 года назад
Brilliant
@simonkalu
@simonkalu 3 года назад
Awesome. Thanks
@Hoang_Aluminium
@Hoang_Aluminium 3 года назад
Can you share Dapper toturial?
@ib4112
@ib4112 3 года назад
where is the repository link for this video example
@Spirittism
@Spirittism 3 года назад
at 17:07 what would i put into google to get the connection string template?
@rayt6867
@rayt6867 4 года назад
Hello Bhrugen, are we going to be working with 2 or more tables with one to many relationship using Dapper? Thanks
@DotNetMastery
@DotNetMastery 4 года назад
Hi Ray, That is one of the most important piece with Dapper which can be tricky to understand! I cover one to one and one to many relations with Dapper in the full course, which is on dotnetmastery.com
@rayt6867
@rayt6867 4 года назад
@@DotNetMastery Thanks, I will enroll.
@szabolcsbartha258
@szabolcsbartha258 3 года назад
There is no .Net Core 5, as of now .Net Core's current version is 3.1, there is .Net 5, but that's a different thing... :D
@SomeBody-bk5op
@SomeBody-bk5op 3 года назад
is this for Entity Framework or Dapper? All I hear is Entity framework...
@joaolopes8847
@joaolopes8847 3 года назад
Thats the firs part, hang on
@omotayoiginla1270
@omotayoiginla1270 3 года назад
Awesome
@arrtv3139
@arrtv3139 3 года назад
Should be called learn Dapper in under 30 minutes, because the Dapper part doesn't start until 32:00 - good video though, but those that already know EF can skip the first half hour!
@mugheesulislam8470
@mugheesulislam8470 Год назад
31:30
@youtub3ian728
@youtub3ian728 3 года назад
Can you make a video where you log Dapper sql commands ? So instead of logging "Select * from products where productId = :prodID" you log the complete string "Select * from products where productId = 1 " .
@narendersingh6492
@narendersingh6492 3 года назад
Dapper Fundamentals will be more helpful. Its more on EF
@encryptor6710
@encryptor6710 3 года назад
Video could have been cut down to 15 minutes due to it not showing anything about Dapper for 42 minutes. Sheesh.
@yasser2768
@yasser2768 3 года назад
wtf is that name
@elmehdibenelmehdi464
@elmehdibenelmehdi464 2 года назад
Learn Dapper in 7 minutes
@PiyushSingh-mt2tb
@PiyushSingh-mt2tb 3 года назад
*sings everytime* O R Mmmmmm!
@priyanshu4016
@priyanshu4016 3 года назад
you have wasted 45 min to show the entity framework thing which is not good under the title sorry but no offence
@nero1563
@nero1563 3 года назад
This video dos not focus on Dapper at all! You created the table with EF and used it with dapper!
@DotNetMastery
@DotNetMastery 2 года назад
when you use dapper you do not "create" table, you need to either create it directly using SQL statements and access with Dapper right? In that case we can use any technology to use Dapper, since the purpose of Dapper is to access/modify with database after the table is created. Please correct me if you think this is not a correct statement.
@DrWambua
@DrWambua 2 года назад
@@DotNetMastery I agree with you. Whilst EF can do Table Creations with Code-First Approach, You still need to create the same tables with EF Core if you're on Database-First approach. It's more of Data manipulation as opposed to database creation what this tutorial is all about. (At least that's how I understand it).
@civilDefense-p5r
@civilDefense-p5r Год назад
fast video to 2
@IDontReadReplies42069
@IDontReadReplies42069 2 года назад
you don't explain why you do anything
Далее
ASP.NET Core Crash Course - C# App in One Hour
1:00:44
Просмотров 1,5 млн
Introduction to ASP.NET Core MVC (.NET 5) - FREE COURSE!
2:27:19