Lesser known CLR GC Handles

#535 – December 08, 2024

How they manage object lifetimes in garbage collection

Lesser known CLR GC Handles
11 minutes by Austin Wise

This article explores GC handles in .NET, focusing on how they manage object lifetimes in garbage collection. It pays special attention to the HNDTYPE_REFCOUNTED handle type, which can behave as either strong or weak and is used in COM and Objective-C interop systems to extend managed object lifetimes based on reference counting.

Migrating Durable Functions .NET 8 isolated
4 minutes by Anthony Giretti

Anthony provides a detailed guide on migrating Azure Functions from .NET 6 to .NET 8, with a particular focus on Durable Functions migration challenges. It covers essential changes needed in various components, including NuGet packages, csproj file configurations, Program.cs modifications, and specific changes required for ActivityTrigger and EntityTrigger implementations in the isolated model.

Performance Improvements in .NET 9
40 minutes by Stephen Toub

.NET 9 is the fastest .NET to date, with a huge number of performance improvements throughout the stack. In this session, Stephen Toub will take a tour through some of these optimizations and see how .NET 9 will make your applications and services fly.

Using Testing.Platform with NET 9
4 minutes by Dennis Frühauff

.NET 9.0 is introducing the new Testing.Platform. Let's take a look at what that is and how you will benefit from using it.

Don't use MediatR by default on all .NET projects
8 minutes by Pierre Belin

Pierre discusses the prevalent use of MediatR in .NET Core applications and argues against its default inclusion in every project. He demonstrates how to achieve similar use-case-centric architecture without MediatR by implementing custom interfaces for commands and handlers.

newsletters