How To Use Both EF Core and Dapper For CQRS Queries

Published: 28 November 2023
on channel: Milan Jovanović
15,489
497

☄️ 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  

EF Core or Dapper - which one should you use? Maybe there's another option. One where you don't have to choose at all. I'll show you how to implement application queries with both EF Core and Dapper. Why would you limit yourself to only one? Both ORMs (yes, I know Dapper is a micro-ORM) have unique advantages - so there's no reason you can't benefit from them.

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

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

Chapters
0:00 Implementing a Query with EF Core
2:36 A comment about Pragmatic Clean Architecture
3:03 Completing Query with EF Core implementation
5:46 Implementing a Query with Dapper and raw SQL
10:29 Comparing EF Core and Dapper from a usage perspective


Watch video How To Use Both EF Core and Dapper For CQRS Queries online without registration, duration hours minute second in high quality. This video was added by user Milan Jovanović 28 November 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 15,489 once and liked it 497 people.