The .NET News Daily Issue #306

Your Daily Dose of .NET Insights, Tools, and Trends

As we cruise into Friday, it's the perfect time for a pit stop—a chance to reflect on the week's code victories and gear up for new breakthroughs. Remember the thrill of upgrading that old clunker to a sleek, roaring machine? That's the kind of energy we're channeling today. In this issue, we've assembled articles that are as polished and powerful as a classic Mustang, ready to help you fine-tune your .NET skills. So buckle up and let’s hit the road to innovation together—your next big project might just be a few scrolls away!

Today's Articles

C# is fixing a thing that irritated me!

https://blog.jermdavis.dev/posts/2025/new-extensions-csharp

For a long time a small thing in writing Razor code for Sitecore (and in some other places) has irritated me. It's not really very important, but with the new version of C# there is finally a way to r...

JetBrains .NET Days 2025 – Test Driven Development with Blazor

https://scottsauber.com/2025/10/08/jetbrains-net-days-2025-test-driven-development-with-blazor/

Note: Slides do not tell the whole story of the talk, so take the stand alone slides with a grain of salt. Things may be taken out of context.

Clean Architecture in .NET Core

https://www.c-sharpcorner.com/article/clean-architecture-in-net-core/

This article provides a practical guide with code examples, demonstrating how to separate concerns using the Dependency Rule. Learn to structure your .NET Core projects effectively by isolating domain...

A New Era of Developer Productivity with Vibe Coding with C# 13

https://www.c-sharpcorner.com/article/a-new-era-of-developer-productivity-with-vibe-coding-with-c-sharp-13/

C# 13 and vibe coding revolutionize developer productivity by reducing boilerplate, simplifying patterns, and promoting clean architecture. Learn how primary constructors, pattern matching, intercepto...

Difference Between Prompt Engineering and Context Engineering

https://www.c-sharpcorner.com/article/difference-between-prompt-engineering-and-context-engineering/

Prompt Engineering teaches AI what to do; Context Engineering teaches AI what matters. Learn the difference between prompt and context engineering, their roles in generative AI, and how they shape the...

How to Disarm and Reconstruct Files in C#

https://cloudmersive.medium.com/how-to-disarm-and-reconstruct-files-in-c-7044b591333b

In this brief article, we’ll provide context for Content Disarm and Reconstruction (CDR) file sanitization in threat scanning workflows…

Implementing Soft Delete in Entity Framework Core with Generic Repository

https://medium.com/@sametkarademir244/implementing-soft-delete-in-entity-framework-core-with-generic-repository-b44b070b8822

Why Soft Delete?

Async in APIs: Unlocking Scalability with .NET’s async/await

https://elanchezhiyan-p.medium.com/async-in-apis-unlocking-scalability-with-nets-async-await-21e556c6b406

Modern APIs power almost every interaction we have — from mobile apps and SaaS platforms to IoT devices. With rising user demand and…

EF Core DBContext Entities configuration refactoring

https://medium.com/@shevchenko.igor.dev/ef-core-dbcontext-entities-configuration-refactoring-943372f0b7ae

I’ve noticed that many .NET projects have one thing in common — a very messy DbContext full of entity configuration code.

Built-in Security in ASP.NET Core

https://www.c-sharpcorner.com/article/built-in-security-in-asp-net-core/

This article dives into authentication, authorization, data protection, HTTPS enforcement, CSRF/XSS protection, and more. Learn how ASP.NET Core's middleware and integrated tools empower developers to...

Why .NET 9 Is One of the Best Platforms for Microservices (And How to Prove It)

https://levelup.gitconnected.com/why-net-9-is-one-of-the-best-platforms-for-microservices-and-how-to-prove-it-c57143e77da2

I’ve built and run .NET microservices since before we called them “microservices.” I’ve stitched Polly, YARP, Prometheus, Dockerfiles… Continue reading on Level Up Coding »

Polymorphism in C#: One Action, Many Forms

https://medium.com/@sweetondonie/polymorphism-in-c-one-action-many-forms-f9c79e6e432f

When I first heard the word polymorphism, I thought it sounded more like a biology term than a programming concept. Honestly, it felt like…

Your .NET Setup is a Mess: A 'Do This, Not That' Guide to a Squeaky-Clean Dev Environment

https://medium.com/@arttech/your-net-setup-is-a-mess-a-do-this-not-that-guide-to-a-squeaky-clean-dev-environment-fd42cfd8b70a?source=rss------csharp-5

Let’s be honest. If you’ve been a .NET developer for more than a few years, your machine has likely become a museum of SDKs. You have old…

.NET Core Nedir?

https://medium.com/@yusufeminirki/net-core-nedir-34015b4d44c4

📌 1. Genel Tanım

How to Find an Available Network Port for a server in .NET

https://www.meziantou.net/how-to-find-an-available-network-port-in-dotnet.htm

When working with network programming in .NET, you might need to find an available port on your system. This is particularly useful when creating server applications, running tests, or developing tool...

Understanding the Difference Between `readonly` and `const` in C#

https://medium.com/@kittikawin_ball/understanding-the-difference-between-readonly-and-const-in-c-a39c407df0a0

Discover why these two keywords behave differently and how misunderstanding them can cause subtle bugs.

C# Without null: Implementing Option and Result Types in .NET

https://medium.com/@nidhiname/c-without-null-implementing-option-and-result-types-in-net-f4a7af585150

If your codebase looks like a haunted house of if (x == null) return;, it’s not “defensive.” It’s indecisive. Instead of sprinkling null…

🚪 Azure Bastion: The Hidden Hero for Secure VM Access

https://www.c-sharpcorner.com/article/azure-bastion-the-hidden-hero-for-secure-vm-access/

Secure your Azure VMs with Azure Bastion! This often-overlooked service provides secure RDP/SSH access directly from the Azure portal via SSL, eliminating the need for public IPs and open inbound port...

Mastering Advanced ASP.NET Core Middleware: A Complete Guide with Real-World Examples

https://medium.com/@chauhanshubham19765/mastering-advanced-asp-net-core-middleware-a-complete-guide-with-real-world-examples-f3bb2ae8bb02

Middleware is the backbone of ASP.NET Core’s request processing pipeline, and understanding how to create, configure, and optimize custom…