The .NET News Daily Issue #153

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

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…