Write Faster SQL Queries With Dapper In .NET | Clean Architecture

Опубликовано: 27 Сентябрь 2024
на канале: Milan Jovanović
38,050
1.2k

☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code:   / milanjovanovic  

Dapper is a very popular micro-ORM library that you can use to write queries for any relational database. Dapper works as a great alternative to EF Core, but it doesn't have to be. Dapper can also be complementary to EF Core, and that's how I like to use it. Dapper gives you more control over what you want to execute since you are writing the SQL that is executed in the database.

Join my weekly .NET newsletter:
https://www.milanjovanovic.tech

Read my Blog here:
https://www.milanjovanovic.tech/blog

Subscribe for more:
   / @milanjovanovictech  

Chapters
0:00 Examining baseline EF performance
1:01 Creating a SqlConnection
4:04 Querying the database with Dapper
8:37 Implementing the SqlConnectionFactory
9:41 Examining Dapper performance
10:25 Breaking the Clean Architecture?