Milan Jovanović shows how to use Dapper alongside EF Core to write faster SQL queries in a Clean Architecture project.
☄️ Master the Modular Monolith Architecture: bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code: patreon.com/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:
milanjovanovic.tech
Read my Blog here:
milanjovanovic.tech/blog
Subscribe for more:
youtube.com/@MilanJovanovicTech?sub_confirmation=1
Chapters
Examining baseline EF performance
Creating a SqlConnection
Querying the database with Dapper
Implementing the SqlConnectionFactory
Examining Dapper performance
Breaking the Clean Architecture?
Why it's here
1 person recommends this
What people say. Recommended as a helpful tutorial for getting started with Dapper without Entity Framework.
U
u/UnremarkabklyUselessin r/dotnet • Recommends
On “.NET without Entity Framework”
There are a few tutorials on YouTube about getting started with Dapper. You could sample them and follow the one you like.
link to this videolink to this videolink to this videolink to this videolink to this videolink to this video