Urgent.News

What's breaking now, across thousands of outlets.

Tech

Select Like a Surgeon: LINQ Projection That Doesn't Bleed Data

Select Like a Surgeon: LINQ Projection That Doesn't Bleed Data Your entity has 47 columns. Your UI needs 3. You're loading all 47 every single time. This is the silent performance killer in most .NET applications — and Select is the scalpel that fixes it. The Problem With Loading Everything var products = dbContext . Products . Where ( p => p . CategoryId == 5 ) . ToList (); // In the view, you…

We haven't written up this one. Dev.to has the full story — the link below goes straight to it.

Read the original at dev.to →

More in Tech

California joins US states clamping down on data center gold rush

The state of California has joined the growing number of governments and communities at all levels across the US taking proactive, even preemptive, measures to keep data center development under control. California Governor Gavin Newsom signed what he called the “most comprehensive data center laws in the nation” on Monday.

More from Tuesday 22 September →