Home Archive Tracing, caching, and C# essentials – .NET News Daily Issue #153 (Mar 14, 2025)

Editor's note

I pulled together a pretty mixed issue this time: practical ASP.NET Core work, a bit of performance tuning, some language deep dives, and older-framework maintenance. The tracing piece with user context stood out because it’s the kind of detail that makes production logs actually useful, and the EF Core performance article should get attention from anyone chasing real query wins. There’s also a nice reminder that not every good post is shiny new tech—sometimes it’s GridView, paths, or unit testing basics done well.

Tracing, caching, and C# essentials

As another coding week crosses the finish line, let's gear up for a Friday fueled by reflection and innovation. Imagine you're steering a classic '68 Mustang—smooth, powerful, and utterly dependable, much like the .NET frameworks you master. In today’s edition, you’ll find insights tuned to perfection, tailored for a developer who's not just surviving but thriving. So, grab your coffee and rev up for a ride through stories that resonate with experience and inspire future adventures.

Today's Articles

Serverless

https://medium.com/@Sina-Riyahi/serverless-899bfa3841c7

💡 Serverless architecture is a cloud computing model that allows developers to build and run applications without having to manage the…

OutputCache

https://medium.com/@samanazadi1996/outputcache-d250a911f741

Introduction

Using Husky with CSharpier

https://cheranga.medium.com/53a81cf19a44

🎖️ Context Continue reading on Cheranga »

Better Request Tracing with User Context in ASP.NET Core

https://www.milanjovanovic.tech/blog/better-request-tracing-with-user-context-in-asp-net-core

Adding user context to request tracing in ASP.NET Core helps track issues and understand user behavior. This article shows how to implement middleware that enriches logs with user IDs for better troub...

Working with Dataset Data in ASP.NET GridView

https://www.csharp.com/article/working-with-dataset-data-in-asp-net-gridview/

This article covers data binding, displaying records, sorting, paging, and editing in GridView. Understand how to fetch data from a database, manipulate it using DataTables, and present it efficiently...

Boost Your EF Core Query Performance by 4X with Just One Line of Code Change!

https://medium.com/@ganesh.s.gurav/boost-your-ef-core-query-performance-by-4x-with-just-one-line-of-code-change-676c49ce3299

Let’s find out

Deep Dive into LINQ: Key Concepts and Advanced Techniques

https://medium.com/@123ajaybisht/deep-dive-into-linq-key-concepts-and-advanced-techniques-ac64113ecd33

Language Integrated Query (LINQ) is one of the most powerful features in C#. It allows you to query data from various sources like arrays…

CancellationToken in .NET: Why It’s a Game-Changer for Responsive Apps

https://medium.com/@adnankhan13/cancellationtoken-in-net-why-its-a-game-changer-for-responsive-apps-c1542a13193f

As a developer with three years of experience, I’ve always been curious about how things work under the hood. One day, while reviewing…

Do you know the best way to secure API keys in an ASP.NET Core application?

https://medium.com/dot-net-sql-learning/do-you-know-the-best-way-to-secure-api-keys-in-an-asp-net-core-application-237ee9b1f7a6

API key is a type of authentication token that prevents unauthorized access to API. If this key is not stored properly, hackers can use it… Continue reading on Dot Net, API & SQL Learning »

Scaling .NET Apps: The Power of Azure, Kubernetes & Databases

https://medium.com/@kohzadi90/scaling-net-apps-the-power-of-azure-kubernetes-databases-05815cd80de3

Scaling a .NET application is not just a technical requirement; it determines whether your system thrives under increased traffic or…

Do you know the difference between == and .Equals() in C#

https://medium.com/dot-net-sql-learning/do-you-know-the-difference-between-and-equals-in-c-86e64b333edf

To understand the difference between == and .Equals() in C#, we need to know how they work and when to use which one. Below is a detailed… Continue reading on Dot Net, API & SQL Learning »

Mastering Expression Trees in C#: From Basics to Advanced Scenarios

https://medium.com/@shalahuddinshanto/mastering-expression-trees-in-c-from-basics-to-advanced-scenarios-c3dbf0ecc867

Expression Trees in C# represent code in a tree-like data structure where each node is an expression.

C# Deconstruction Explained: Write Less Code, Achieve More

https://medium.com/@kothariheman2011/c-deconstruction-explained-write-less-code-achieve-more-a78571d6518e

Deconstruction is a powerful feature introduced in C# 7.0 that allows developers to extract values from objects in a clean, concise manner…

How I Fixed My Event Sourcing Nightmare in .NET Using Marten

https://medium.com/@shamuddin/how-i-fixed-my-event-sourcing-nightmare-in-net-using-marten-9bba7ccc24fc

Simplifying Event Sourcing in .NET: The Marten Fix You Need Continue reading on Towards Dev »

Understanding in, ref, and out Parameter Modifiers in C# with Practical Examples

https://www.csharp.com/article/understanding-in-ref-and-out-parameter-modifiers-in-c-sharp-with-practical-examples/

Learn how to use in, ref, and out parameter modifiers in C# with practical examples. Understand their differences, use cases, and best practices for passing arguments efficiently.

Resolving Paths To Server Relative Paths in .NET Code

https://weblog.west-wind.com/posts/2025/Mar/08/Resolving-Paths-To-Server-Relative-Paths-in-NET-Code

ASP.NET Core automatically resolves 'virtual' paths in Razor pages or views to a site relative path. So if you have something like: <script src="~/lib/scripts/helpers.js" /> It will res...

The Importance of Unit Testing in .NET Development

https://medium.com/@lalwanimihir23701/the-importance-of-unit-testing-in-net-development-a38097205ded

LINQ Partitioning in C# 12

https://devstoc.medium.com/linq-partitioning-in-c-12-fcde6b09f98a

Your Guide to Learn LINQ Partitioning in C# 12

MenuStrip on C #

https://medium.com/@betularslann/menustrip-on-c-825694b0d379

Today I examined the use of the MenuStrip tool in C#. At first I was going to do the project in the video I watched, but while I was…

C# Records: The Future of Immutable Data is Here

https://medium.com/@nagarajvela/c-records-the-future-of-immutable-data-is-here-a402f312bd37

Discover how C# records simplify data structures and enforce immutability, a step-by-step guide for developers. Continue reading on Towards Dev »

ORM Tools In .Net Core Step By Step.

https://mwltgr.medium.com/orm-tools-in-net-core-step-by-step-1596fcb0186b

Hello, Many of us use EF (entity framework) as an orm tool in their projects. I have only used EF throughout my entire work experience. I…

How GitHub Copilot Can Supercharge Your Productivity in Visual Studio 2022

https://medium.com/@ganesh.s.gurav/how-github-copilot-can-supercharge-your-productivity-in-visual-studio-2022-89fa62be35cf

If you’re a developer using Visual Studio 2022, you’ve probably heard about GitHub Copilot. It’s an AI-powered coding assistant that helps…

Jasen's take on today's picks

Serverless

Serverless is a broad intro piece, so I’d read it for architecture framing more than implementation details.

OutputCache

OutputCache is one of those features that can pay off fast when you understand where the cache boundary really belongs.

Using Husky with CSharpier

Husky plus CSharpier is a practical “reduce friction” setup for teams that want formatting enforced early.

Better Request Tracing with User Context in ASP.NET Core

User-context tracing is the kind of observability upgrade that makes production investigations dramatically easier.

Working with Dataset Data in ASP.NET GridView

This GridView article is a useful nod to the long tail of .NET apps people still maintain.

Boost Your EF Core Query Performance by 4X with Just One Line of Code Change!

The EF Core one is the headline performance piece here; if the claim holds, it’s worth inspecting the exact change.

Deep Dive into LINQ: Key Concepts and Advanced Techniques

LINQ deep dives are often repetitive, but this one should help newer devs connect concepts to real queries.

CancellationToken in .NET: Why It’s a Game-Changer for Responsive Apps

CancellationToken still gets underestimated; good coverage here for keeping apps responsive and cooperative.

Do you know the best way to secure API keys in an ASP.NET Core application?

API key protection is evergreen advice, and ASP.NET Core developers still need clear guidance on the basics.

Scaling .NET Apps: The Power of Azure, Kubernetes & Databases

Azure plus Kubernetes plus databases makes this a solid scaling overview for teams past the single-service stage.

Do you know the difference between == and .Equals() in C#

The equality article is basic, but `==` versus `.Equals()` still causes real bugs in production code.

Mastering Expression Trees in C#: From Basics to Advanced Scenarios

Expression trees remain crucial if you work with query providers, dynamic rules, or compiler-style tooling.

C# Deconstruction Explained: Write Less Code, Achieve More

Deconstruction is small syntax with real readability wins when used carefully.

How I Fixed My Event Sourcing Nightmare in .NET Using Marten

Marten is a sensible escape hatch when event sourcing gets messy and you need the model to stay sane.

Understanding in, ref, and out Parameter Modifiers in C# with Practical Examples

`in`, `ref`, and `out` still matter when you’re tuning APIs for clarity and performance.

Resolving Paths To Server Relative Paths in .NET Code

Path handling is mundane until it breaks deployments; then it becomes very important.

The Importance of Unit Testing in .NET Development

Unit testing gets a straightforward pitch here, and that’s useful for teams trying to raise the baseline.

LINQ Partitioning in C# 12

C# 12 partitioning is a nice advanced LINQ topic for people who already live in query expressions.

MenuStrip on C #

A MenuStrip article is a reminder that WinForms knowledge still matters for plenty of line-of-business software.

C# Records: The Future of Immutable Data is Here

Records remain one of the cleanest ways to model immutable data in modern C#.

ORM Tools In .Net Core Step By Step.

ORM tooling coverage is useful for comparing tradeoffs instead of reaching for the default stack automatically.

How GitHub Copilot Can Supercharge Your Productivity in Visual Studio 2022

Copilot in Visual Studio is worth evaluating if you want measurable help without changing your editor stack.

Related issues

📬 Get daily .NET content delivered to your inbox