#PerfOptimization
Tired of adding the same WHERE clause everywhere? Let EF Core do the work!

With Global Query Filters, you can set the rules once and let EF Core apply them automatically—perfect for soft deletes, multi-tenancy, and more.

woodruff.dev/global-query...

#EFCore #dotnet #DevTips #PerfOptimization
Global Query Filters: Setting the Rules Once, Querying Like a Pro - Chris Woody Woodruff
Imagine you’re running a café. Every customer who walks in gets a free cookie—no need to ask for it, no need for your staff to remember. It just happens, automatically. That’s the magic of Global Quer...
woodruff.dev
February 2, 2025 at 1:21 PM
Still saving EF Core updates one at a time? There’s a better way!

Batching Updates & Inserts lets you send multiple changes in a single DB call—reducing trips, saving resources, and boosting performance.

Learn how: woodruff.dev/batching-upd...

#EFCore #dotnet #PerfOptimization
Batching Updates and Inserts: Making EF Core Work Smarter, Not Harder - Chris Woody Woodruff
Let’s face it: making multiple database calls is like running back and forth between the kitchen and dining room to serve dinner one plate at a time. It’s inefficient, exhausting, and makes your app l...
woodruff.dev
February 1, 2025 at 7:17 PM