The .NET News Daily Issue #268

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

As the weekend looms like a well-oiled classic car ready for a joyride, let's take a reflective pit stop this Friday to fuel up on the latest in .NET. Imagine this newsletter as a trusty manual that keeps your development skills from stalling in the fast lane—packed with insights that'll have you shifting gears smoothly through the ever-evolving tech landscape. Whether you're debugging like a pro or architecting the next big thing, today’s handpicked articles will ensure your .NET engine keeps roaring into the weekend.

Today's Articles

Soft Deletes using EF Core Interceptors

https://www.c-sharpcorner.com/article/soft-deletes-using-ef-core-interceptors/

Learn how to implement soft deletes in EF Core using interceptors. Mark entities as deleted without removing them, apply global query filters, and ensure automatic, transparent handling of deleted rec...

.NET 9 — Aspire vs Ocelot vs YARP

https://martinhosebastiao.medium.com/net-9-aspire-vs-ocelot-vs-yarp-1a27a185d596

Essas três tecnologias são muito semelhantes e estão em alta no mercado, hoje vamos presentar as finalidades e diferenças de cada um.

How Do I Create Custom GPT Workflows Visually?

https://www.c-sharpcorner.com/article/how-do-i-create-custom-gpt-workflows-visually/

Want to build your own GPT-powered workflows without code? Learn how to visually create custom AI workflows using tools like Langflow, Flowise, and Autogen Studio — no coding skills needed!

Stop Using Try-Catch for Everything — Microsoft’s Real Error Handling Patterns in C#

https://blog.devgenius.io/stop-using-try-catch-for-everything-microsofts-real-error-handling-patterns-in-c-c847085c6965

Structured exception handling is powerful — but if you treat try-catch as your only error-handling tool, you’re silently breaking… Continue reading on Dev Genius »

Understanding Controller Return Types in ASP.NET Core: IActionResult vs ActionResult vs T

https://medium.com/@sweetondonie/understanding-controller-return-types-in-asp-net-core-iactionresult-vs-actionresult-t-vs-t-4106b1c8cc93

When I started building Web APIs in ASP.NET Core, my controller methods “worked” — until they didn’t.

How to not return all properties in SqlRaw

https://steven-giesel.com/blogPost/c6bea409-9e49-4915-8529-8a8a8574ba80

Entity Frameworks SqlRaw has a small, sometimes annoying limitation: The SQL query must return data for all properties of the entity type. Sometimes that isn't desireable, so let's overcome that s...

The 5 C# Features Good Developers Know But Never Use

https://medium.com/@pinaki11/the-5-c-features-good-developers-know-but-never-use-6f0d017dad60

When I look back at my early years as a C# developer, I realize I wasn’t making obvious rookie mistakes — my code compiled, it worked, and…

The Hidden C# 13 Features That Make Your Code Faster, Safer, and AI-Ready

https://blog.devgenius.io/the-hidden-c-13-features-that-make-your-code-faster-safer-and-ai-ready-003fd7a980f8

C# 13 didn’t make huge headlines like record types in C# 9 or raw string literals in C# 11. Continue reading on Dev Genius »

SQL Server Features: A Comprehensive Guide for Developers

https://www.c-sharpcorner.com/article/sql-server-features-a-comprehensive-guide-for-developers/

Mastering Advanced SQL Server Features: A Comprehensive Guide for Developers

Improving Codebase Awareness in Visual Studio Chat

https://devblogs.microsoft.com/visualstudio/improving-codebase-awareness-in-visual-studio-chat/

Smarter Code Search in Visual Studio: From BM25 to Semantic Search In our latest 17.14.11 release, we’ve made a significant leap forward in how we explore your code to retrieve meaningful context. Ou...

EF Core Performance Secrets: Querying at Warp Speed

https://medium.com/@hadiyolworld007/ef-core-performance-secrets-querying-at-warp-speed-4b8b2cb5eaa8

Advanced optimization techniques to make Entity Framework Core handle massive datasets with minimal latency.

Implementing Audit Logs in EF Core Without Polluting Your Entities

https://blog.elmah.io/implementing-audit-logs-in-ef-core-without-polluting-your-entities/

Most modern applications require the historical audit logging of changes made to database entities. The audit log provides you with insights into all changes made, including their timestamps and the u...

From Redmond to San Diego: VS Live! Highlights, Session Examples, and What’s Next

https://devblogs.microsoft.com/visualstudio/from-redmond-to-san-diego-vs-live-highlights-session-examples-and-whats-next/

There’s something special about hosting developers at Microsoft HQ — and this year’s Visual Studio Live! Redmond reminded me why I love these events. The energy in every room was electric. From the mo...

How To Build a Load Balancer In .NET With YARP Reverse Proxy

https://medium.com/@michaelmaurice410/how-to-build-a-load-balancer-in-net-with-yarp-reverse-proxy-bf116933afd5

If you want the full source code, download it from this link: https://www.elitesolutions.shop/

How Dotnet Changed Me

https://madhaven.github.io/mad_blog/content/HowDotnetChangedMe.html

I was blind but now I see. I was building castles with sand, but now I’m building castles above castles. As a programmer, Dotnet did that.

5 .NET Hacks So Good, You’ll Want to Refactor Your Whole Codebase

https://blog.stackademic.com/5-net-hacks-so-good-youll-want-to-refactor-your-whole-codebase-12ca8b20812f

Modern C# power moves that make your old code cry. Continue reading on Stackademic »

Understanding Middleware in ASP.NET Core

https://medium.com/@sanchitvarshney/understanding-middleware-in-asp-net-core-e73e3db94f57

A Developer’s Perspective

How to Reverse a Linked List in Data Structures with Examples

https://www.c-sharpcorner.com/article/how-to-reverse-a-linked-list-in-data-structures-with-examples/

Learn how to reverse a linked list in data structures with step-by-step explanations, detailed breakdowns of iterative and recursive approaches, and Java code examples for beginners and intermediates.

JIT vs AOT in .NET 9: Choosing the Right Compilation Strategy

https://medium.com/@kittikawin_ball/jit-vs-aot-in-net-9-choosing-the-right-compilation-strategy-67b8643de9df?source=rss------dotnet-5

Choosing Between JIT and AOT for Modern .NET Apps.

Long Polling vs Short Polling: Which One Fits Your Real-Time App?

https://medium.com/@kittikawin_ball/long-polling-vs-short-polling-which-one-fits-your-real-time-app-649b05accf9e

Understand the differences, trade-offs, and best practices for short polling and long polling — with real .NET and Node.js examples

Advanced .NET Disposal Patterns Every Senior Dev Should Know

https://medium.com/@freakyali/advanced-net-disposal-patterns-every-senior-dev-should-know-a9a44a974077

Avoid deadlocks, leaks, and subtle bugs by mastering the synchronization and asynchronous cleanup techniques. Continue reading on Stackademic »