GC myths, auth, and performance
A varied .NET roundup covering garbage collection, cancellation tokens, Minimal API auth, EF Core bulk work, security, and Visual Studio tools.
Jasen's top three picks
- 1 Part 5 — GC Myths Busted: What Developers Get Wrong About .NET Garbage Collection
medium.com
A good myth-buster on .NET GC; useful if you’ve ever treated the collector like black magic.
- 2 All You Need to Know About .NET’s Cancellation Token
medium.com
Cancellation tokens get the practical treatment here — worth a read before you wire up more async work.
- 3 5 .NET Features You’ll Wish You Knew Sooner
blog.stackademic.com
Minimal API auth and ASP.NET Core security pieces are both immediately applicable to real services.
Editor's note
I pulled together a deliberately mixed issue this time: some fundamentals, some security, and a few performance and tooling pieces. The GC myths article and the Copilot Profiler Agent post stand out because they both help developers make better decisions with less guesswork. There’s also solid practical guidance on Minimal API authentication and ASP.NET Core security.
Today's articles
Part 5 — GC Myths Busted: What Developers Get Wrong About .NET Garbage Collection
medium.com
Garbage Collection (GC) in .NET is one of the most misunderstood features. Despite being automatic, it’s not magic — and believing the…
Topics: .NET Core Performance
Read articleAll You Need to Know About .NET’s Cancellation Token
medium.com
A comprehensive guide to understanding and implementing cancellation tokens in modern programming
Read article5 .NET Features You’ll Wish You Knew Sooner
blog.stackademic.com
Cleaner patterns, safer objects, and less boilerplate all hiding in plain sight. Continue reading on Stackademic »
Read articleAdd API key authentication to an Minimal API endpoint
roundthecode.com
Learn how to add API key authentication to a minimal API endpoint by using a saved key in the config and how you can add a fallback policy to protect all routes. The page Add API key authentication to...
Topics: Authentication Minimal APIs Security
Read articleWhy Are You Still Re-Inventing These 5 .NET Features?
blog.stackademic.com
The framework already solved these problems; you just need to start using them. Continue reading on Stackademic »
Read articleC# Interface vs Abstract: 3 Real-World Lessons That Changed Everything
medium.com
Three real .NET production lessons on interface vs abstract — and the framework we use to avoid months of refactoring.
Read articleUsing a cache in a clean way in ASP.NET Core
medium.com
Inject a cache directly in the controller where you need to use it — it’s not the good approach to implement caching in your app.
Topics: ASP.NET Core Performance Redis
Read articleDemocratizing Performance: The Copilot Profiler Agent in Action on Real Code
devblogs.microsoft.com
[alert type="tip" heading="Watch behind the scenes of the Profiler Agent"]Head on over to the Copilot Profiler Agent to watch.[/alert]
Topics: GitHub Copilot Profiling Visual Studio
Read articleIf You’re Not Using These 5 .NET Features, You’re Working Too Hard
blog.stackademic.com
Simple APIs that quietly solve some of the nastiest problems in real-world apps. Continue reading on Stackademic »
Read articleAuthentication in .NET — Part 7: External Authentication Providers
dilankam.medium.com
In Part 6, we explored role-based and policy-based authorization. Now, in Part 7, let’s look at how to integrate external authentication…
Topics: Authentication OAuth Security
Read articleWhat is an API?
c-sharpcorner.com
Unlock the power of APIs! This guide explains what APIs are, how they work, and why they're essential for modern software development. Learn about different API architectures like REST and SOAP, under...
Read articlePackaging self-contained and native AOT .NET tools for NuGet: Exploring the .NET 10 preview - Part 7
andrewlock.net
In this post we look at the new support for platform-specific .NET tools, so that you can pack your tools as self-contained or Native AOT packages
Topics: .NET 10 Native AOT
Read articleHow Async/Await Really Works
mariemoalla.medium.com
If you’re new to C#, you’ve probably seen async and await in modern code and asked along the way:
Read articleEF Core Bulk Operations
c-sharpcorner.com
Optimize EF Core performance when dealing with large datasets! This article explores various bulk operation techniques, from built-in options like ExecuteUpdate/Delete to powerful third-party librarie...
Topics: EF Core Performance
Read articleNew in VS Code: Todo List in Chat ✅
youtube.com
Named Query Filters in EF 10: Multiple Filters per Entity
Topics: .NET 10 Visual Studio Code
Read articleManaging the AI Model Lifecycle in C#: From Deployment to Continuous Improvement
medium.com
Building an AI model is only the first step. The real challenge begins after deployment — when the model must evolve with new data…
Read articlePreventing CORS Misconfigurations in ASP.NET Core APIs
c-sharpcorner.com
Secure your ASP.NET Core APIs! This article dives into preventing CORS misconfigurations, a critical aspect of web application security. Learn how overly permissive CORS settings can lead to vulnerabi...
Topics: ASP.NET Core Authentication Security
Read articleVisual Studio 2026 Just Landed |You Won’t Believe the Speed Boosts!
isitvritra101.medium.com
The Visual Studio family is one of Microsoft’s flagship developer tools, used by around 50 million worldwide, and it continues to evolve…
Topics: Performance Visual Studio
Read articleThe Exception That Cost Me $10K in .NET
levelup.gitconnected.com
Why This Blog Matters Continue reading on Level Up Coding »
Read articleCross-Site Request Forgery (CSRF) Protection in ASP.NET Core
c-sharpcorner.com
This article details built-in mechanisms like anti-forgery tokens, SameSite cookies, and global validation to safeguard authenticated users. Learn how to implement CSRF protection in Razor Pages, MVC,...
Topics: ASP.NET Core Security
Read articleAgent Factory: Connecting agents, apps, and data with new open standards like MCP and A2A
azure.microsoft.com
The real power of agents comes from their ability to connect to each other, to enterprise data, and to the systems where work gets done. The post Agent Factory: Connecting agents, apps, and data with...
Read articleWorking with solution root files in Visual Studio 2022
medium.com
In Visual Studio 2022, it’s inconvenient to work with files and folders located in the root directory where the .sln file lives.
Topics: .NET Core Visual Studio
Read article