Stream hacks, hosting fixes, and EF Core tuning
This issue covers I/O and memory tricks, ASP.NET Core security testing, hosting cleanup, EF Core tuning, logging, versioning, and .NET 10 updates.
Jasen's top three picks
- 1 5 Stream Hacks in .NET You’re Still Doing Wrong
blog.stackademic.com
Modern I/O APIs can make a surprising difference, and this stream piece shows where the old buffer-loop habits still slow teams down.
- 2 The Harsh Truth: 5 Reasons Your .NET Hosting Code Is Sloppy
blog.stackademic.com
This hosting critique is a useful gut check for anyone wiring up DI, background services, or shutdown behavior.
- 3 How to Perform Security Testing on ASP.NET Core Applications
c-sharpcorner.com
A solid ASP.NET Core security testing guide that goes beyond theory into headers, scanning, input validation, and dynamic checks.
Editor's note
I pulled a deliberately mixed lineup this time, from low-level stream and memory tips to higher-level ASP.NET Core and EF Core guidance. The security testing piece is especially practical for teams hardening real apps, and the .NET 10 stack allocation deep dive is a nice peek at where the runtime is headed. I also liked the hosting and Serilog articles because they target everyday code most teams ship.
Today's articles
5 Stream Hacks in .NET You’re Still Doing Wrong
blog.stackademic.com
Forget clunky buffer loops; these modern APIs make your I/O code fly. Continue reading on Stackademic »
Topics: .NET Core Performance
Read articleThe Harsh Truth: 5 Reasons Your .NET Hosting Code Is Sloppy
blog.stackademic.com
From DI misuse to broken shutdown hooks, here’s how to clean up your hosting game like a pro. Continue reading on Stackademic »
Topics: ASP.NET Core .NET Core
Read articleHow to Perform Security Testing on ASP.NET Core Applications
c-sharpcorner.com
Comprehensive guide to ASP.NET Core security testing, covering static analysis, dependency scanning, secure configuration, and dynamic testing. Learn to implement security headers, validate inputs, ha...
Topics: ASP.NET Core Security
Read articleAggregate Root Design in DDD and Clean Architecture with .NET 9: A Deep Dive
medium.com
If you want the full source code, join our community: Here
Topics: Clean Architecture Domain-Driven Design .NET 9
Read articleAutoPipe: A Declarative Approach to Building Pipelines in .NET
serg-at.medium.com
Learn how to build modular .NET pipelines with AutoPipe
Topics: Design Patterns .NET Core
Read articleStop Wasting Memory: 5 Advanced .NET Tricks Nobody Teaches You
blog.stackademic.com
From direct dictionary refs to object pools, these features turn everyday code into high-performance code. Continue reading on Stackademic »
Topics: .NET Core Performance
Read articleElegant Global Error Handling Using Middleware In .NET 9
medium.com
Global error handling is critical for creating robust, secure, and maintainable .NET applications. .NET 9 provides multiple sophisticated…
Topics: ASP.NET Core .NET 9
Read articleThe Hidden Tax in Your .NET Async Code — And the Microsoft Fix Nobody Uses
levelup.gitconnected.com
Last year, one async method quietly burned $5K of our Azure bill. Continue reading on Level Up Coding »
Topics: Azure .NET Core Performance
Read articleMastering Logging in .NET with Serilog — Part 3
medium.com
Serilog Tutorial Series — Part 3: Working with Sinks
Read articleObservable Lists in C# and Unity — Built-in vs Custom
medium.com
When working in Unity or C#, you’ve probably used List<T> a million times. It’s simple, fast, and gets the job done. But there’s one…
Topics: C#
Read articleAPI Versioning in .NET Core: A Complete Guide
c-sharpcorner.com
Evolve your .NET Core APIs gracefully with versioning! This article explores strategies like URL, query string, and header versioning using Microsoft's library. Learn to maintain backward compatibilit...
Topics: ASP.NET Core REST API
Read articleOne Trick To Improve EF Core Performance Using Query Splitting
medium.com
When working with Entity Framework Core, there’s one simple technique that can dramatically improve performance for queries with multiple…
Topics: EF Core Performance
Read articleEF Core Performance Myths Busted: Real Benchmarks and Tuning Tips
javascript.plainenglish.io
Everything you’ve heard about Entity Framework Core being “too slow” might be outdated. Here’s what real-world data shows — and how to… Continue reading on JavaScript in Plain English »
Topics: Benchmarking EF Core Performance
Read articleWhy CopyToOutputDirectory Is the Secret to Reliable .NET Builds
medium.com
Master CopyToOutputDirectory for seamless file management.
Topics: .NET Core Visual Studio
Read articleObject Stack Allocation in .NET 10: A Deep Dive into Escape Analysis
medium.com
One of the most exciting advancements in deabstraction within .NET 10 is the broader use of escape analysis to enable stack allocation of…
Topics: .NET 10 Performance
Read articleASP.NET Core Application Lifecycle
c-sharpcorner.com
Explore the ASP.NET Core application lifecycle, from startup and middleware pipeline to routing, controller execution, model binding, and result execution. Understand how each stage contributes to han...
Topics: ASP.NET Core Web API
Read article6 .NET ORM Frameworks Worth Bookmarking
medium.com
In .NET development, Entity Framework (EF) Core is undoubtedly the king of the data access layer. It’s powerful, well-supported, and…
Topics: EF Core Performance
Read articleThe Complete Guide to Migrating Legacy .NET Framework to .NET 8
medium.com
Transform Your Legacy Applications into High-Performance Modern Solutions Continue reading on .Net Programming »
Topics: .NET 8 .NET Framework
Read article[.NET]: Let’s Create a CLI with System.CommandLine
medium.com
Today I will be showing you how I have built a CLI task tracker using console applications in .NET.
Read article.NET 10 menu not showing in Visual Studio 2022 (2-Minute Fix)
frontend2backend.medium.com
If you’ve installed the .NET 10 SDK but Visual Studio 2022 still doesn’t show the .NET 10 framework in the New Project dialog, you’re not…
Topics: .NET 10 Visual Studio
Read articleSerilog Tutorial Series — Part 2: Configuration & Enrichers
medium.com
Logging works when it’s easy to control and rich with context. In Part 1, we set up Serilog and wrote our first structured logs. But…
Topics: Serilog
Read article