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… | |  | | |
| 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... | |  | | |
| 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 » | |  | | |
| 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 ... | |  | | |
| 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 » | |  | | |
| 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… | |  | | |
| 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 | |  | | |
| 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 » | |  | | |
| 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. | |  | | |
| 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… | |  | | |
| 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… | |  | | |
| 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… | |  | | |
| 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… | |  | | |
| 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… | |  | | |
| .NET Buffering Techniques: Analysis, Benchmarking, and Practical Advice | | https://slimktari.com/net-buffering-techniques-analysis-benchmarking-and-practical-advice-d49f12906de0 Introduction | |  | | |
| 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 | |  | | |
| 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… | |  | | |
| 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. | |  | | |
| .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... | |  | | |
| .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. | |  | | |
| 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. | |  | | |
| 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 ... | |  | | |
| 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 » | |  | | |