// youtube

Code with Pushpa

Screen-recorded coding walkthroughs — C#, .NET, Angular, and the habits that separate junior from senior code. Recorded from the desk in Kathmandu.

23 videos511.2K total viewsSubscribe on YouTube
Thumbnail for Why Your .NET App Is Slow? (Zero to Pro)4:20

Spotlight

Why Your .NET App Is Slow? (Zero to Pro)

Your .NET app passes every code review and every test, and still crawls in production. It's almost never the framework's fault — it's a handful of the same patterns showing up again and again. This video walks through the real reasons .NET apps slow down: garbage collector pressure from excessive allocations, sync-over-async code starving the thread pool, the deadlock gotcha that blocking async code can trigger, N+1 queries in Entity Framework, boxing and unboxing value types, string concatenation in loops, missing caching, unpooled connections, and the profiling tools that show you where the time is actually going instead of where you assume it's going. TIMESTAMPS 0:00 Intro — Why Your .NET App Is Slow? 0:19 Step 1: Garbage Collector — Every Allocation Is Future Cleanup 0:50 Step 2: Sync-over-Async — Blocking Calls Starve the Thread Pool 1:17 The Gotcha: Blocking Can Deadlock, Not Just Slow Down 1:40 Step 3: The N+1 Query — One Loop, A Hundred Round Trips 2:07 Step 4: Boxing & Unboxing — Value Types Paying Heap Rent 2:34 Step 5: String Concatenation — Immutable Strings, Disposable Copies 2:52 Step 6: Missing Caching — Don't Redo Work That Barely Changes 3:20 Step 7: Unpooled Resources — A New Connection for Every Call 3:37 Step 8: Diagnose, Don't Guess — Let the Profiler Point at the Bottleneck 3:53 Recap — Five Patterns, One Recurring Story If this helped you understand why your app is actually slow, consider subscribing for more deep dives like this.

40 views · Jul 23, 2026