The .NET News Daily Issue #172

Feel like sharing?

The .NET News Daily Issue #172

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

As you power through this Thursday, channel your inner code superhero, cape firmly attached, as you tackle the .NET realm with gusto. We’ve rounded up the crème de la crème of articles to sharpen your skills and unearth new insights just in time before the weekend pit stop. Think of this newsletter as your trusty sidekick, packed with seasoned wisdom and just a dash of humor to keep your brain cells energized. Ready to conquer? Let’s shift gears and fuel your .NET prowess!

Today’s Articles

C# 13: Extended params for Method Parameters

C# 13: Extended params for Method Parameters

Introduction .NET 9 and C# 13 are now rolling out and once again, Microsoft has…

Building Resilient and Auto-Scaling Architectures on Azure

https://www.csharp.com/article/building-resilient-and-auto-scaling-architectures-on-azure/

Build resilient, auto-scaling Azure applications using services like AKS, App Service, Cosmos DB, and Traffic Manager to ensure high availability, performance, and cost efficiency in dynamic workloads…

Copilot code review now generally available

https://www.csharp.com/news/github-launches-copilot-code-review-for-all-users

GitHub has officially launched its Copilot Code Review feature for all users. This new tool automates basic code reviews, helping developers quickly identify bugs, performance issues, and suggest fixe…

AutoMapper and MediatR Going Commercial

https://www.jimmybogard.com/automapper-and-mediatr-going-commercial/

Yes, another one of “those posts”. But tl;dr: In order to ensure the long-term sustainability of my OSS projects, I will be commercializing AutoMapper and MediatR. I did not post this on Apr…

Microsoft .NET Code Analysis: Improve .NET Performance by Reusing Constant Arrays

Microsoft .NET Code Analysis: Improve .NET Performance by Reusing Constant Arrays

In optimizing the Spargine project, I improved performance by avoiding constant arrays as method arguments. Instead, using static readonly fields reduced memory allocations significantly. This change …

An Easy Mnemonic to Format Dates As Strings in C#

https://medium.com/@iamcesaraguirre/an-easy-mnemonic-to-format-dates-as-strings-in-c-f27a0f6f5d0a?source=rss——csharp-5

“MM” vs “mm” vs “fff.” Which one to use?

Filters in ASP.NET Core – Everything you Need to Know!

https://codewithmukesh.com/blog/filters-in-aspnet-core/

Middleware is a core component of the ASP.NET Core request pipeline, responsible for handling requests and responses efficiently. Understanding how middleware works, its execution order, and best prac…

GitHub Copilot (Gen-AI) is Helpful, But Not Great (March 2025)

https://www.csharp.com/article/github-copilot-gen-ai-is-helpful-but-not-great-march-2025/

GitHub Copilot Pro boosts productivity in ASP.NET 8/C# by suggesting code via AI, helping with repetitive tasks. While not perfect, it’s useful with training, prompt engineering, and context setup.

Efficient SQL Query to Remove Duplicates with ROW_NUMBER

https://www.c-sharpcorner.com/blogs/efficient-sql-query-to-remove-duplicates-with-rownumber

Use ROW_NUMBER() with PARTITION BY to remove duplicates efficiently. Assigns a unique row number, filters duplicates (RN > 1), and deletes them while keeping the first entry. Ideal for cleaning data i…

Keyed Services in .NET – Advanced Dependency Injection Techniques

https://codewithmukesh.com/blog/keyed-services-dotnet-advanced-di/

Keyed Services in .NET 8 make it easier to work with multiple implementations of the same interface. Instead of writing custom factories or using service locators, you can now register and resolve ser…

.NET AI Community Standup – 🔮 Fortune-Telling with Semantic Kernel

Top 20 SQL Best Practices Every Developer Should Follow

https://www.csharp.com/blogs/top-20-sql-best-practices-every-developer-should-follow

Learn the top 20 SQL best practices every developer should follow to write efficient, secure, and optimized queries. From indexing and normalization to query optimization and security, these expert ti…

How to Refactor the Code Using GitHub Copilot

https://www.csharp.com/article/how-to-refactor-the-code-using-github-copilot/

Keeping code up to date is essential for security, performance, and maintainability. Code refactoring helps optimize and modernize software, but it can be time-consuming.

How to Implement Rate Limiting in ASP.NET Core

https://medium.com/@softacom.com/how-to-implement-rate-limiting-in-asp-net-core-0103909dbbe4

How to Implement Rate Limiting in Your .NET API?

Because we ❤️ you #coding #vscode #love

DateOnly and TimeOnly in .NET

https://medium.com/@jepozdemir/dateonly-and-timeonly-in-net-a8a833ddb2e8

Working with Dates and Times in .NET Using DateOnly and TimeOnly

Select vs SelectMany in C# LINQ

https://www.c-sharpcorner.com/article/select-vs-selectmany-in-c-sharp-linq/

In C# LINQ, Select transforms each element of a collection individually, maintaining the original structure, while SelectMany flattens nested collections into a single sequence, combining all sub-elem…

How to Split a List into Batches Using the Chunk Method in C#

https://www.c-sharpcorner.com/article/how-to-split-a-list-into-batches-using-the-chunk-method-in-c-sharp/

Learn how to efficiently split a list into smaller batches using the Chunk method in C# This method, introduced in .NET 6, simplifies list processing by breaking large collections into manageable chun…

How I introduced a bug using IEnumerable in a wrong way(and what I learned)

https://medium.com/@samuelSimpleDev/how-i-introduced-a-bug-using-ienumerable-in-a-wrong-way-and-what-i-learned-c2e68c868bda

A while ago, I had the task of fixing a particular bug in a project I was working on at the company where I was employed at the time.

Explicit Loading in ASP.NET Core Web API

https://www.c-sharpcorner.com/article/explicit-loading-in-asp-net-core-web-api/

Explicit Loading in ASP.NET Core Web API is a technique used to manually retrieve related data from the database when needed, using LoadAsync() on navigation properties. Unlike eager loading (Include(…

ASP.NET Core Localization with Automated Translations via Result Filters

https://www.c-sharpcorner.com/article/asp-net-core-localization-with-automated-translations-via-result-filters/

Enhance ASP.NET Core localization by leveraging automated translations via result filters. This approach enables dynamic content translation in API responses, improving multilingual support.

Mastering Eager Loading in ASP.NET Core Web API

https://www.csharp.com/article/mastering-eager-loading-in-asp-net-core-web-api/

Eager Loading in ASP.NET Core Web API is a technique using Entity Framework Core to load related data (like child entities) alongside the main entity in a single query. It helps improve performance by…

Had trouble mocking ILogger in unit tests? Use FakeLogger

https://medium.com/@nizzola.dev/had-trouble-mocking-ilogger-in-unit-tests-use-fakelogger-4c1678a86cf6

For those who write unit tests using NSubstitute and .NET,

.NET, C# and Building AI-Integrated Windows Apps

https://www.c-sharpcorner.com/article/net-c-sharp-and-building-ai-integrated-windows-apps/

Artificial Intelligence (AI) is revolutionizing software development by enabling applications to analyze data, recognize patterns, and make intelligent decisions. Developers leveraging Microsoft’s .NE…

Simple Best Practices for Code Quality and Performance in .NET

https://www.c-sharpcorner.com/article/simple-best-practices-for-code-quality-and-performance-in-net/

Let’s break down some best practices for writing good and fast code in .NET, using simple examples and including important principles that anyone can understand.

Subscribe to the .NET Newsletter and never miss another awesome article.

Leave a Reply

Your email address will not be published. Required fields are marked *