.NET 9 features, tooling, and testing
A varied .NET roundup covering .NET 9, ASP.NET Core 9, Visual Studio 2022 updates, testing, JSON, EF Core, and practical C# tips.
Jasen's top three picks
- 1 Explore the Key Features of .NET 9
csharp.com
A solid .NET 9 overview to start the issue; useful if you want the highlights without reading all the release notes.
- 2 Advanced Implementations of the Producer-Consumer Pattern with Channel in .NET
medium.com
A good pattern write-up for anyone building concurrent pipelines or background processing with Channels.
- 3 Using Snapshot Testing to validate EF Core schema
meziantou.net
Snapshot-testing EF Core schema is the kind of practical technique that pays off the first time a migration surprises you.
Editor's note
I put together a pretty mixed issue this time: platform updates, developer tooling, data access, and a few hands-on C# deep dives. The .NET 9 and Visual Studio items matter for anyone tracking what’s landing in the stack, while the EF Core snapshot testing piece is a nice practical read for keeping schemas honest.
Today's articles
Explore the Key Features of .NET 9
csharp.com
https://www.csharp.com/article/explore-the-key-features-of-net-9/
Topics: .NET 9
Read articleAdvanced Implementations of the Producer-Consumer Pattern with Channel in .NET
medium.com
https://medium.com/@anderson.buenogod/advanced-implementations-of-the-producer-consumer-pattern-with-channel-t-in-net-28aa94304561
Topics: C# Performance
Read articleUsing Snapshot Testing to validate EF Core schema
meziantou.net
https://www.meziantou.net/using-snapshot-testing-to-validate-ef-core-schema.htm
Topics: EF Core Unit Testing
Read articleC# Dev Kit Updates: .NET Aspire, Hot Reload, and More!
youtube.com
https://www.youtube.com/watch?v=PBLCKJ9bP94
Topics: .NET Aspire Visual Studio
Read articleC# Expression Trees: The Secret Sauce for Dynamic Code
medium.com
https://medium.com/@nagarajvela/c-expression-trees-the-secret-sauce-for-dynamic-code-e36f4deb9f79
Topics: C# Design Patterns
Read articleOptimizing Dictionary Performance in C#
medium.com
https://medium.com/@shamuddin/optimizing-dictionary-performance-in-c-9de73c333ba7
Topics: C# Performance
Read articleThe Unwritten Rules to Becoming a .NET Senior Developer: 7 Steps to Level Up
medium.com
https://medium.com/@Lidia-Rodriguez/the-unwritten-rules-to-becoming-a-net-senior-developer-7-steps-to-level-up-1b212f303efa
Topics: C#
Read articleSummary of Working with Arrays in C# from Basics to Advanced
csharp.com
https://www.csharp.com/article/summary-of-working-with-arrays-in-c-sharp-from-basics-to-advanced/
Topics: C#
Read articleA Powerful, Open-Source MongoDB GUI for Everyone
devblogs.microsoft.com
https://devblogs.microsoft.com/cosmosdb/a-powerful-open-source-mongodb-gui-for-everyone/
Topics: C#
Read articleUnderstanding MapStaticAssets in ASP.NET Core 9.0
csharp.com
https://www.csharp.com/blogs/understanding-mapstaticassets-in-asp-net-core-90
Read articleMicrosoft.Testing.Platform: Now Supported by All Major .NET Test Frameworks
devblogs.microsoft.com
https://devblogs.microsoft.com/dotnet/mtp-adoption-frameworks/
Topics: ASP.NET Core .NET 9
Read articleDo You Need to Give Up .NET Framework for .NET?
medium.com
https://medium.com/write-a-catalyst/do-you-need-to-give-up-net-framework-for-net-c85f6834214a
Topics: Unit Testing
Read articleVisual Studio 2022 v17.13 is Now Available! - Visual Studio Blog
devblogs.microsoft.com
https://devblogs.microsoft.com/visualstudio/visual-studio-2022-v17-13-is-now-available/
Topics: .NET 8 .NET Framework
Read articleSystem.Text.Json vs. Newtonsoft.Json: A Comprehensive Comparison
csharp.com
https://www.csharp.com/article/system-text-json-vs-newtonsoft-json-a-comprehensive-comparison/
Topics: Visual Studio
Read articleExploring the .NET Ecosystem: A Visual Mind Map
dailydotnettips.com
https://dailydotnettips.com/net-ecosystem-mindmap/
Topics: Newtonsoft.Json System.Text.Json
Read articleSemi Auto Implemented Properties in .NET 9
csharp.com
https://www.csharp.com/article/semi-auto-implemented-properties-in-net9/
Topics: .NET Core
Read articleFirst preview of Visual Studio 2022 v17.14
devblogs.microsoft.com
https://devblogs.microsoft.com/visualstudio/first-preview-of-visual-studio-2022-v17-14/
Read articleHow To Get Your IP Address in C#?
csharp.com
https://www.csharp.com/blogs/how-to-get-your-ip-address-in-c-sharp2
Topics: C# Performance
Read articleIntegrating Stripe Payment Gateway in ASP.NET Core MVC
csharp.com
https://www.csharp.com/article/integrating-stripe-payment-gateway-in-asp-net-core-mvc/
Topics: ASP.NET Core Web API
Read article