Home Archive Copilot testing, EF9, MAUI, Blazor – .NET News Daily Issue #141 (Feb 26, 2025)

Editor's note

I pulled together another deliberately mixed lineup this week, from Copilot-driven API testing to EF Core 9 behavior changes and MAUI runtime performance updates. The middleware testing and IIS environment-variable posts are especially practical if you’re shipping ASP.NET Core in production. I also included a few fundamentals pieces on async, nullable types, and DIP for readers who want a solid refresh.

Copilot testing, EF9, MAUI, Blazor

Welcome to the halfway point—a day for seasoned developers like us to embrace our quirks! This Wednesday, we're serving up a .NET newsletter as refreshing as your favorite classic car on a sunny day: polished, reliable, and maybe even sparking a bit of nostalgia. So, buckle up for insights that are smoother than your last successful deployment. Let's rev our engines and explore the articles that are idling below.

Today's Articles

GitHub Copilot Just Took Over My API Testing… And I’m Not Mad About It!

https://medium.com/@nidhiname/github-copilot-just-took-over-my-api-testing-and-im-not-mad-about-it-2e1bc9d50c53

Writing API unit tests is like filling out paperwork — you know it’s important, but you’d rather be building new features. It’s repetitive…

Article preview

Using EntityFramework with IDBContext in .NET 9.0

https://www.csharp.com/blogs/using-entityframework-with-idbcontext-in-net-90

Entity Framework (EF) Core is a powerful tool for managing databases in .NET applications. However, using DbContext directly in repositories or services can create strong dependencies and make unit te...

Article preview

Visualize Multi-Dimensional Data Using the .NET MAUI Parallel Coordinate Chart

https://www.syncfusion.com/blogs/post/dotnet-maui-parallel-coordinate-chart

This blog explains how to visualize multi-dimensional data using the .NET MAUI Parallel Coordinate Chart with code examples. Continue reading on Syncfusion »

Article preview

ChatGPT for Advanced C# Code Refactoring & Clean-Up

https://dotnetcorecentral.com/blog/chatgpt-csharp-refactoring/

Code refactoring for C# is essential for maintaining high-quality, readable, and efficient software. But let’s be honest—rewriting messy or outdated code can be a tedious process. Enter ChatGPT, your ...

Article preview

The 4 C# Techniques Nobody Talks About (But Should)

https://medium.com/write-a-catalyst/the-4-c-techniques-nobody-talks-about-but-should-2cd782864239

As a senior engineer who has spent years refining C# applications, I’ve had my fair share of challenges. Continue reading on Write A Catalyst »

Article preview

Mastering Async Programming in .NET: Best Practices & Pitfalls to Avoid

https://medium.com/@tanjeerbinhaque/mastering-async-programming-in-net-best-practices-pitfalls-to-avoid-03327c667524

The .NET’s async framework makes the life of developers easy to write and maintain asynchronous code. Asynchronous programming is a way to…

Article preview

Setting application environment variables in IIS without restarts

https://andrewlock.net/setting-environment-variables-in-iis-and-avoiding-app-pool-restarts/

In this post I outline how IIS works, describe how to add environment variables to app pools, and show how to prevent automatic app pool recycling on changes

Article preview

Understanding Nullable Types in C#: A Comprehensive Guide

https://rahulsahay19.medium.com/understanding-nullable-types-in-c-a-comprehensive-guide-31fc7688d933

In C#, variables of value types (such as int, double, bool, etc.) Continue reading on Stackademic »

Article preview

Recursive Algorithm in C# Using Towers of Honoi

https://www.csharp.com/article/recursive-algorithm-in-c-sharp-using-towers-of-honoi/

This article delves into the Tower of Hanoi puzzle, explaining its rules and providing a step-by-step guide to solving it using a recursive algorithm in C# with sample code and outputs.

Article preview

What is Middleware in ASP.NET ?

https://medium.com/@kacar7/what-is-middleware-in-asp-net-a46ee191e8cd

Middleware is an essential concept in modern software development. In C# middleware is generally used in the .Net framework to process…

Article preview

Tuning Your Serialization in .NET with JSON Attributes: Faster, Leaner, and Cleaner

https://medium.com/@kohzadi90/tuning-your-serialization-in-net-with-json-attributes-faster-leaner-and-cleaner-22e603e9fbec

If you’ve ever needed to tailor JSON output in a .NET application — whether to rename fields, ignore certain properties, or exclude null…

Article preview

Diagnosing .NET

https://medium.com/@davidsilwal/diagnosing-net-aaf5b6821486

The .NET ecosystem offers a robust set of diagnostic tools designed to assist in troubleshliooting applications, even when they are…

Article preview

How .NET Can Help Your Business Grow and Succeed?

https://medium.com/@sparklewebhelp/how-net-can-help-your-business-grow-and-succeed-fec02aee7989

In today’s fast-moving world, businesses need strong and reliable technology to stay ahead of their competition. If your technology is…

Article preview

Understanding the Dependency Inversion Principle (DIP) in C#

https://medium.com/@orkhanmustafayev/understanding-the-dependency-inversion-principle-dip-in-c-0c306b9ed115

SOLID principles are a cornerstone of modern software development. They help us craft code that is maintainable, flexible, and readable…

Article preview

.NET Buffering Techniques: Analysis, Benchmarking, and Practical Advice

https://slimktari.com/net-buffering-techniques-analysis-benchmarking-and-practical-advice-d49f12906de0

Introduction

Article preview

How to test custom middleware

https://medium.com/@yegor-sychev/how-to-test-custom-middleware-d5b8fbfef4a2

For this example, let’s consider a simple custom middleware called ExceptionHandlingMiddleware

Article preview

Merge Sorted Array

https://medium.com/@CodeCrack/merge-sorted-array-999c494eafb9

You are given two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m and n, representing the number of…

Article preview

Building .NET AI apps with Chroma

https://devblogs.microsoft.com/dotnet/announcing-chroma-db-csharp-sdk/

Get started building AI applications using Chroma DB using the C# client SDK. The post Building .NET AI apps with Chroma appeared first on .NET Blog.

Article preview

.NET 9 Blazor Runtime API

https://www.csharp.com/blogs/net-9-blazor-runtime-api

In .NET 9, the RendererInfo API is used to manage and optimize component rendering in Blazor applications, helping to determine how and when components are rendered. Here's a simple example of how you...

Article preview

.NET MAUI Performance Features in .NET 9 - .NET Blog

https://devblogs.microsoft.com/dotnet/dotnet-9-performance-improvements-in-dotnet-maui/

Optimize .NET MAUI application size and startup times with trimming and NativeAOT. Learn about `dotnet-trace` and `dotnet-gcdump` for measuring performance.

Article preview

Clean Architecture in .NET: A Practical Guide with Examples

https://medium.com/@roshikanayanadhara/clean-architecture-in-net-a-practical-guide-with-examples-817568b3f42e

Clean Architecture is a software design philosophy that aims to create scalable, maintainable, and testable applications.

Article preview

Entity Framework 9 - GroupBy Throwing Exception

https://www.csharp.com/article/entity-framework-9-groupby-throwing-exception/

Entity Framework 9 (EF9) has a bug where using GroupBy with sorting may throw the exception: "The given key 'EmptyProjectionMember' was not present in the dictionary." Workarounds exist but ...

Article preview

ASP.NET: Repository Pattern

https://towardsdev.com/asp-net-repository-pattern-238023409a38

As with other design patterns, the Repository Pattern provides a level of abstraction to decouple code. This specific pattern is designed… Continue reading on Towards Dev »

Article preview

Jasen's take on today's picks

GitHub Copilot Just Took Over My API Testing… And I’m Not Mad About It!

Copilot is doing more than autocomplete here; this piece shows how it can take real weight off API testing without replacing judgment.

Using EntityFramework with IDBContext in .NET 9.0

A useful .NET 9 EF refresher, especially if you're using DbContext abstractions and want to avoid surprises in newer data-access code.

Visualize Multi-Dimensional Data Using the .NET MAUI Parallel Coordinate Chart

The MAUI chart article is a good reminder that mobile UI can still be both visual and data-dense when the control choice is right.

ChatGPT for Advanced C# Code Refactoring & Clean-Up

This one is about using ChatGPT as a refactoring partner, and the value is in speeding cleanup while still keeping your standards.

The 4 C# Techniques Nobody Talks About (But Should)

A short C# techniques piece is always worth a look when it surfaces patterns that quietly improve everyday code.

Mastering Async Programming in .NET: Best Practices & Pitfalls to Avoid

Async still trips up plenty of teams, so a best-practices roundup like this is useful for avoiding deadlocks and wasted tasks.

Setting application environment variables in IIS without restarts

Andrew Lock's IIS environment-variable workaround is the kind of production-friendly detail that saves restarts and headaches.

Understanding Nullable Types in C#: A Comprehensive Guide

Nullable types remain one of the most important C# features to understand well, especially for codebases enforcing annotations.

Recursive Algorithm in C# Using Towers of Honoi

A recursion article on Towers of Hanoi is classic CS territory, but it's still a neat way to exercise algorithmic thinking.

What is Middleware in ASP.NET ?

Middleware is one of ASP.NET Core's most important extensibility points, and the testing angle makes this post more practical.

Tuning Your Serialization in .NET with JSON Attributes: Faster, Leaner, and Cleaner

JSON attribute tuning is a nice reminder that serialization choices can buy you both cleaner payloads and better performance.

Diagnosing .NET

A general diagnosing .NET post can be broad, but troubleshooting guidance is always worth keeping handy.

How .NET Can Help Your Business Grow and Succeed?

The business-growth angle is more marketing than engineering, but it's still a reminder of why the platform keeps showing up in real products.

Understanding the Dependency Inversion Principle (DIP) in C#

DIP is foundational design thinking, and examples help when teams are trying to reduce coupling without overengineering.

.NET Buffering Techniques: Analysis, Benchmarking, and Practical Advice

Buffering analysis plus benchmarking makes this one a solid read for anyone chasing throughput or memory improvements.

How to test custom middleware

Testing custom middleware is the kind of hands-on ASP.NET Core guidance people need once the abstractions stop being theoretical.

Merge Sorted Array

The merge-sorted-array writeup is algorithm practice, plain and simple, and still useful for sharpening problem-solving habits.

Building .NET AI apps with Chroma

Microsoft's Chroma SDK announcement is the most AI-forward item here, and it points at practical vector-search integration in .NET.

.NET 9 Blazor Runtime API

The .NET 9 Blazor runtime API coverage should interest anyone watching client-side capabilities in the newer release.

.NET MAUI Performance Features in .NET 9 - .NET Blog

MAUI performance improvements in .NET 9 matter because mobile apps feel every saved millisecond and allocation.

Clean Architecture in .NET: A Practical Guide with Examples

Clean architecture examples are always popular for a reason: they help teams turn principles into code structure.

Entity Framework 9 - GroupBy Throwing Exception

EF Core 9 GroupBy issues are exactly the sort of edge-case warning that can prevent a nasty production surprise.

ASP.NET: Repository Pattern

The repository pattern article is familiar territory, but it's still a common architectural discussion in ASP.NET shops.

Related issues

📬 Get daily .NET content delivered to your inbox