Home Archive LINQ, refactoring, and C# 13 updates – .NET News Daily Issue #196 (May 14, 2025)

Editor's note

I pulled together a deliberately mixed issue again: performance tuning, language features, cloud ops, and a few practical how-tos. The LINQ and object-pooling pieces are useful reminders that small choices can move throughput, while the Azure Functions upgrade guide is the kind of migration note teams keep handy.

LINQ, refactoring, and C# 13 updates

Welcome to the midweek .NET marvels, where Wednesday winks at you with a programmer's charm and a dash of quirk. Today, we're taking a tour through the bytes and bits like a seasoned ’90s mixtape—packed with hits that will crank up your coding prowess. We know you're a roadster navigating the information highway, so buckle up for a ride full of insights, sprinkled with wit, and crafted for those who know their C# from their Visual Basic. Ready to roll? Let's make the most out of the hump-day hustle!

Today's Articles

LINQ vs Loops: The Explosive Performance Secrets No One Tells You

https://medium.com/@nagarajvela/linq-vs-loops-the-explosive-performance-secrets-no-one-tells-you-023c45aff25c

Discover when LINQ shines and where loops dominate Continue reading on CodeElevation »

Article preview

Code Smell 298 — Microsoft Windows Time Waste

https://levelup.gitconnected.com/code-smell-298-microsoft-windows-time-waste-41e0074689a2

When Conditional Logic Silences Critical Signals Continue reading on Level Up Coding »

Article preview

Safe Refactoring in .NET with Light/Dark Mode and Feature Flags

https://www.eventuallyconsistent.xyz/light-dark-refactoring

You’ve been forced to maintain a poorly written legacy app. Spaghetti code, no tests, and every new feature breaks two existing ones.

Article preview

C# 13: Partial Properties and Indexers Simplified

https://www.c-sharpcorner.com/article/c-sharp-13-partial-properties-and-indexers-simplified/

C# 13 introduces partial properties and indexers, enabling cleaner separation of logic in partial classes. This boosts maintainability, avoids hacks, and simplifies working with generated code and too...

Article preview

How to Access Strings in C#

https://medium.com/@fulton_shaun/how-to-access-strings-in-c-4c24e6ec26ad

A clear and practical introduction to accessing characters and finding their positions in C# strings using index numbers and the IndexOf()…

Article preview

Csharp — Pool Your Objects — Or Watch the GC Burn Your Throughput

https://medium.com/@mohsho10/csharp-pool-your-objects-or-watch-the-gc-burn-your-throughput-b36826c18d08

In .NET, the garbage collector is great — until it isn’t. If your app keeps allocating and deallocating large objects, you’ll hit Gen 2…

Article preview

Mastering Concurrency in .NET with SemaphoreSlim: A Practical Guide

https://otienoelvis.medium.com/mastering-concurrency-in-net-with-semaphoreslim-a-practical-guide-ab7f2edb0e74

Part 1: Getting Started with SemaphoreSlim

Article preview

Source Generators and Metaprogramming in .NET

https://medium.com/@Adem_Korkmaz/source-generators-and-metaprogramming-in-net-5c92fd513115?source=rss------csharp-5

Boosting Performance, Preventing Errors, and Simplifying Code Maintenance

Article preview

This Tiny C# Mistake Crashed Our Production — Learn From It!

https://medium.com/dot-net-sql-learning/this-tiny-c-mistake-crashed-our-production-learn-from-it-c3dd6c008f6e

C# is a powerful and safe programming language. But, no matter how experienced you are, even a small mistake can cause big problems. Today… Continue reading on Dot Net, API & SQL Learning »

Article preview

Integrating Sentry in .NET MAUI with Local File Logging

https://msicc.net/integrating-sentry-in-dotnet-maui-with-local-file-logging

Sentry is a powerful tool for error tracking and diagnostics, and in my TwistReader MAUI app, I wanted to go beyond just capturing errors in production. The goal: use Sentry for all logging, but persi...

Article preview

How I Built a ChatGPT-Powered .NET App in Under 60 Minutes

https://medium.com/@venkataramanaguptha/how-i-built-a-chatgpt-powered-net-app-in-under-60-minutes-50b058d5f671?source=rss------dotnet-5

ChatGPT isn’t just for students and writers — it’s a powerful productivity tool for developers too. In this article, I’ll walk you through…

Article preview

Best Practices for Azure Blob, Table, Queue, File Storage with C#

https://www.c-sharpcorner.com/article/best-practices-for-azure-blob-table-queue-file-storage-with-c-sharp/

Azure Storage provides scalable solutions for unstructured and structured data. It includes Blob, Table, Queue, and File Storage, offering features like tiering, lifecycle management, security, and co...

Article preview

Stop Abusing LINQ: C# Performance Tricks That Actually Save You CPU

https://medium.com/@mohsho10/stop-abusing-linq-c-performance-tricks-that-actually-save-you-cpu-3a599fc03589

LINQ is one of C#’s nicest features — compact, expressive, elegant. But in high-traffic systems or hot loops, it can quietly kill…

Article preview

Common HttpClient tasks you're googling or asking ChatGPT

https://blog.elmah.io/common-httpclient-tasks-youre-googling-or-asking-chatgpt/

Using HttpClient has become my default choice when making HTTP requests from .NET. While there are many good alternatives out there (like Refit, Flurl, and RestSharp), having a built-in client that do...

<img src="https://cdn.dotnetnews.co/imports/05ba21f6730d4526e98a15a66a93a03bff26b531ebb6726a1f181b9658eb383e.png" width="100%" style="display:block" class="hide-on-mobile" data-bit="iit" alt="Article preview"re googling or asking ChatGPT" height="200" loading="lazy" decoding="async">

Persisting a Smart Enum with Entity Framework Core

https://amrelsher07.medium.com/persisting-a-smart-enum-with-entity-framework-core-0c1ee7d1a45f

After along time I discuss about smart enum and write about in this article SmartEnum, now a lot of people ask about how to persistent…

Article preview

CRUD APIs are Poor Design

https://codeopinion.com/crud-apis-are-poor-design/

I’m convinced that CRUD APIs and CRUD-driven systems—meaning systems built around Create, Read, Update, and Delete operations—are, in the long run, the hardest to change and evolve. This might sound u...

Article preview

Unlocking Raw String Literals in C# 11 — Multiline, Clean, and Finally Human-Friendly

https://medium.com/@mohsho10/unlocking-raw-string-literals-in-c-11-multiline-clean-and-finally-human-friendly-5295beba5168

We’ve all wrestled with multiline strings in C#. The mess of escaping quotes, manually handling line breaks, and trying to format JSON or…

Article preview

How to Upgrade Azure Functions from .NET 6 to .NET 8 (2025 Guide)

https://medium.com/@karthikns999/upgrade-azure-functions-dotnet6-to-dotnet8-isolated-model-49aef444a82f

A step-by-step migration guide to future-proof your Azure Functions in 2025

Article preview

Callback in C#

https://medium.com/@payton9609/callback-in-c-556ac9fd5fd5

In modern software development, callbacks are essential tools for building flexible and extensible applications. Whether you’re handling…

Article preview

HackerRank: Mini Max Sum Solution in C#

https://davutdursun.medium.com/hackerrank-mini-max-sum-solution-in-c-34ea7855f256

Access without membership: Here

Article preview

Jasen's take on today's picks

LINQ vs Loops: The Explosive Performance Secrets No One Tells You

A blunt look at LINQ versus loops, with enough performance detail to make you rethink hot-path convenience.

Code Smell 298 — Microsoft Windows Time Waste

A code smell post that frames wasted time as a design problem, not just a personal productivity gripe.

Safe Refactoring in .NET with Light/Dark Mode and Feature Flags

Feature flags and light/dark mode make a nice low-risk refactoring pattern for shipping UI changes safely.

C# 13: Partial Properties and Indexers Simplified

C# 13 partial properties and indexers are presented clearly, which helps separate language evolution from hype.

How to Access Strings in C#

A practical string-access refresher, useful if you want to tighten up everyday C# code without overengineering it.

Csharp — Pool Your Objects — Or Watch the GC Burn Your Throughput

Object pooling gets the throughput treatment here, and the GC angle is the real reason to pay attention.

Mastering Concurrency in .NET with SemaphoreSlim: A Practical Guide

SemaphoreSlim remains one of the simplest tools for controlling concurrency when you need predictable pressure.

Source Generators and Metaprogramming in .NET

Source generators and metaprogramming deserve more mainstream attention, especially for repetitive boilerplate-heavy codebases.

This Tiny C# Mistake Crashed Our Production — Learn From It!

A tiny production crash story is worth reading because the lesson is usually in the mistake, not the headline.

Integrating Sentry in .NET MAUI with Local File Logging

MAUI plus Sentry and local file logging is a solid reminder that diagnostics should survive offline and failure cases.

How I Built a ChatGPT-Powered .NET App in Under 60 Minutes

Building a ChatGPT-powered app in under an hour is less about speed and more about validating an idea quickly.

Best Practices for Azure Blob, Table, Queue, File Storage with C#

Azure storage best practices cover the basics teams often skip until scale exposes the gaps.

Stop Abusing LINQ: C# Performance Tricks That Actually Save You CPU

Another LINQ performance post, this time focused on practical ways to stop allocating and start measuring.

Common HttpClient tasks you're googling or asking ChatGPT

The HttpClient checklist is the kind of everyday reference that saves time when the same questions keep coming up.

Persisting a Smart Enum with Entity Framework Core

Persisting smart enums in EF Core is one of those modeling details that looks small until it becomes pervasive.

CRUD APIs are Poor Design

A strong critique of CRUD APIs, pushing for designs that reflect behavior instead of just tables and verbs.

Unlocking Raw String Literals in C# 11 — Multiline, Clean, and Finally Human-Friendly

Raw string literals get a simple explanation that makes multiline code and embedded text much easier to live with.

How to Upgrade Azure Functions from .NET 6 to .NET 8 (2025 Guide)

The Azure Functions .NET 6 to .NET 8 upgrade guide is timely for anyone still planning isolated worker migrations.

Callback in C#

Callbacks in C# get a straightforward treatment, which is helpful for newer developers connecting the delegate dots.

HackerRank: Mini Max Sum Solution in C#

Mini Max Sum is a classic HackerRank warmup, but it still makes a decent test of clean problem-solving habits.

Related issues

📬 Get daily .NET content delivered to your inbox