Issue #95 of the Code Maze weekly.
Check out what’s new this week and enjoy the read.
.NET and C#
- Grouping Assertions in Tests [ardalis.com]
Sometimes we need to assert multiple things in a single test because it makes sense. This goes against best practices in unit testing, but when we need to do it there are some techniques that can help. Steve Smith shows us how to do it.
- Compress Strings With .NET and C# [khalidabuhakmeh.com]
Despite resources not being that much of a problem like before, we should be mindful and not spend them carelessly, especially when working in the cloud, where often these resources can cost a lot of money. Khalid Abuhakmeh shows us how to compress and decompress strings to avoid such scenarios.
- Is it time to start creating C# Azure Functions in isolated mode? [markheath.net]
- Remove all event handlers from an event in C# [csharphelper.com]
- Domain-Driven Refactoring: Encapsulating Collections [jimmybogard.com]
- Improving performance App using compiled bindings in Xamarin Forms [askxammy.com]
- Handling Transient Errors in Durable Functions [www.tpeczek.com]
- Ahead-Of-Time Compilation for Blazor Wasm [blog.elmah.io]
- Optimizing Windows Terminal for Sovereign Clouds [stevemichelotti.com]
- Exploring the code behind WebApplicationBuilder: Exploring .NET Core 6 – Part 3 [andrewlock.net]
- JSON Based Localization in ASP.NET Core With Caching – Super Easy Guide [codewithmukesh.com]
- GitHub Actions On Demand [ardalis.com]
- Episode 213 – Developer Best Practices with April Edwards [6figuredev.com]
Other Interesting Articles
- I fixed a bug. What should I do now? [www.meziantou.net]
- ALWAYS Valid Domain Model [codeopinion.com]
On Programming & Life
- Develop Secure Web Applications – A Developer’s Guide [simpleprogrammer.com]
- Instructions for Developers: How To Keep the Rights to Your Own Program [simpleprogrammer.com]
Weekly Dose of Humor
- When I read the entire documentation and found no solution to my problem [thecodinglove.com]
- When they ask me if I can conduct the intern’s code review on a Monday morning [thecodinglove.com]
- When I remember after a Ctrl+C that I had an important piece of code in my clipboard [thecodinglove.com]
- When I code with my headphones on [thecodinglove.com]