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!
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…
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…
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
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 …
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)
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
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
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
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…
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.
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#
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)
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
Enhance ASP.NET Core localization by leveraging automated translations via result filters. This approach enables dynamic content translation in API responses, improving multilingual support.
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
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
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