Issue #86 of the Code Maze weekly.
Check out what’s new this week and enjoy the read.
.NET and C#
- Appending strings, built-in types, and lists: A deep dive on StringBuilder – Part 2 [andrewlock.net]
A continuation of the excellent StringBuilder analysis by Andrew Lock. You might want to check this out if your task involves strings. - Blazor and Cancelling Asynchronous Calls With CancellationTokenSource [khalidabuhakmeh.com]
Khalid explains how to set reasonable timeouts for dependency calls and give our users back control and cancel an existing asynchronous operation.
Worthy Reads
- Unhandled Exceptions in Blazor Server with Error Boundaries [daveabrock.com]
- Adding blog posts to your GitHub README with GitHub Actions [dotnetthoughts.net]
- Domain-Driven Refactoring: Long Methods [jimmybogard.com]
- How to measure elapsed time without allocating a Stopwatch [www.meziantou.net]
- ASP.NET Core 6 and IAsyncEnumerable – Async Streamed JSON vs NDJSON [www.tpeczek.com]
- Using an ASP.NET Core IHostedService to run Azure Service Bus subscriptions and consumers [damienbod.com]
- ASP.NET Core in .NET 6 – Shadow-copying in IIS [asp.net-hacker.rocks]
- ASP.NET Core 6 and IAsyncEnumerable – Async Streamed JSON vs NDJSON [www.tpeczek.com]
- ICYMI C# 9 New Features: Reduce Boilerplate Constructor Code with Init Only Property Setters [dontcodetired.com]
News & Updates
- Try the new System.Text.Json source generator [devblogs.microsoft.com]
Live & Presentation
- Episode 204 – Comet and .NET MAUI with James Clancey [6figuredev.com]
Other Interesting Articles
- Developing Azure Functions with GitHub Codespaces DevContainers [dotnetthoughts.net]
- SQL Server ROUND() Function: What It’s For and Why Should You Care? [codingsight.com]
- Your Work Email Address is Your Work’s Email Address [www.troyhunt.com]
On Programming & Life
- 3 Tips on Building a Thriving Community Around Your Mobile App [simpleprogrammer.com]
Weekly Dose of Humor
- When I open a piece of code I wrote 2 years ago [thecodinglove.com]
- When the salesman tells me about all the features he just sold [thecodinglove.com]
- When the project manager asks me why the production crashed right after my delivery [thecodinglove.com]