Entity Framework (Core) Unchained: Getting the Best Performance from Your ORM - Dan Mallott

  Рет қаралды 11,888

NDC Conferences

NDC Conferences

Күн бұрын

Пікірлер: 16
@marna_li
@marna_li 2 жыл бұрын
A very informative talk about stuff we really should care about when using EF Core! And + Dan is a good speaker.
@alexisfibonacci
@alexisfibonacci 4 ай бұрын
EF Core now has escape hatches that can do what Dapper does (especially with raw queries). Also mapping to DTO projections is now on par with Dapper... Let us see what more performance gimmicks they can come up with in subsequent versions.
@KibbleWhite
@KibbleWhite 2 жыл бұрын
According to this, I've done absolutely everything 100% wrong lol
@ErnestoMorin
@ErnestoMorin 2 жыл бұрын
Some good points. Would be nice to know best approach on switching from code first to database first.
@thowheedh
@thowheedh 2 жыл бұрын
Please share the link to slides presented in the video in description
@lmddolat2009
@lmddolat2009 2 жыл бұрын
Thank you very much , I got much useful information's ,you just opened my eyes to things I should care about it before start
@khealer
@khealer 2 жыл бұрын
39:45 You can do SqlBulkCopy into a Temporary Table if you want to avoid the User Table Type.
@jenkins9202
@jenkins9202 2 жыл бұрын
This is all well and good, but how would you combine EF with something like DDD? In this talk you introduce a bunch of models that aren't really aggregate roots, if you have performance issues loading an aggregate like the User w/ Posts example, then it probably means the design is wrong, i.e. does a User aggregate REALLY need a collection of posts?
@Wil_Bloodworth
@Wil_Bloodworth 2 жыл бұрын
Why couple DDD with the ORM at all? It would be much cleaner (IMO) to have DDD-isms remain at the application layer and have your DDD models rely on repositories (black boxes to the DDD/application layer) handle persistence. Why should DDD entities concern themselves with persistence? Just my thoughts.
@RaZziaN1
@RaZziaN1 14 күн бұрын
@@Wil_Bloodworth There is no definitive answers for this question. In some systems Domain models and database models will be same entity, while in other those will be disjointed and separated by layers, depends what is the use case.
@lyndonarreza8398
@lyndonarreza8398 2 жыл бұрын
Using migration in Django is not painful compare to add-migration in entity framework.hope they will fix that issue
@roslanbainal5914
@roslanbainal5914 2 жыл бұрын
@Ryan Woods yeah, its easy
@Wil_Bloodworth
@Wil_Bloodworth 2 жыл бұрын
@Ryan Woods there is nothing "good" about EF migrations. Literally nothing. I could do an entire 3-hour talk on why these suck and should never ever be used. They should die in a fire.
@chashdeveloper
@chashdeveloper 2 жыл бұрын
Creating joins using ef core is a terrible idea. the lambda syntax can get real messy. is there anyway we can ensure column name consistency if we run raw sql query using ef?
@thorw2136
@thorw2136 6 ай бұрын
Use dapper
@andreasbohn9973
@andreasbohn9973 5 ай бұрын
You could look into creating views on the DB side and use EF to select and read from the view
Common mistakes in EF Core - Jernej Kavka - NDC Oslo 2023
1:03:43
NDC Conferences
Рет қаралды 27 М.
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,5 МЛН
Dapper Vs Entity Framework
26:12
Luke Conner
Рет қаралды 12 М.
Getting Started with Entity Framework Core in .NET
26:51
Nick Chapsas
Рет қаралды 27 М.
EF Core Performance Optimization Challenge | 233x FASTER
14:42
Milan Jovanović
Рет қаралды 69 М.
Using EF Core’s Coolest Feature to Audit in .NET
26:06
Nick Chapsas
Рет қаралды 38 М.
Tracking Data Changes in C# .NET
20:42
Hassan Habib
Рет қаралды 50 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 94 М.