#544 – February 16, 2025
Best practices of the asynchronous programming
Asynchronous Programming
30 minutes by David Fowl
In this guide David summarizes the best practices of the asynchronous programming. The main recommendations include avoiding async void, preferring async/await over direct Task returns, and never using Task.Result or Task.Wait to prevent deadlocks. These practices help ensure reliable and efficient asynchronous code execution while avoiding common threading and performance issues.
CarsXE: Developer-Friendly, Hassle-Free Data Access
sponsored by CarsXE
Get the vehicle data you need without the headaches. CarsXE offers structured, easy-to-use APIs with real-time responses and robust uptime. Whether you need VIN decoding, plate decoding & recognition, or market values, our API is built to keep up with your workflow.
Mastering the Senior C# Engineer Interview
4 minutes by Matthew Odumosu
In this blog post Matthew presents a comprehensive list of 31 advanced interview questions and answers for senior C# engineers, specifically tailored for financial industry scenarios. The questions cover critical areas including transaction handling, distributed systems, performance optimization, security, and system design, with a focus on real-world applications and practical solutions in banking and financial contexts.
Monitoring C# Azure Functions in the Isolated Worker Model
12 minutes by Tomasz Pęczek
Deep dive into infrastructure, configuration, and some more advanced aspects for monitoring C# Azure Functions in the isolated worker model. Tomasz presents two main approaches: file system logging for development scenarios and Application Insights for production use, and demonstrates how to set up both options and how to enhance monitoring by enabling storage logs and scale controller logging. The guide also covers advanced topics like separating worker and host telemetry, configuring cloud roles for better application mapping, and using managed identities for secure Application Insights integration.
.NET 9 Networking Improvements
26 minutes by Marie Píchová, Natalia Kondratyeva, Anton Firszov
In this blog post the authors highlight the latest and most interesting changes in the networking space with the new .NET release. It introduces several significant networking improvements, including enhanced HTTP capabilities with better connection pooling and multiple HTTP/3 connections support, automatic Windows proxy updates, and new QUIC features. The release also brings security improvements with SSLKEYLOGFILE support and TLS resume capabilities, along with new networking primitives like Server-Sent Events parser.
.NET 9 HybridCache
5 minutes by Adolfo
In this article Adolfo introduces the HybridCache API, a new L1/L2 caching system that combines in-memory and distributed cache capabilities. This new solution offers features like cache stampede protection and configurable serialization for custom types, while providing methods for storing, retrieving, and deleting cached data.
And the most popular article from the last issue: