This post explores the implementation of dotnet.exe, specifically focusing on how the hostfxr library is resolved and loaded.| Steve Gordon - Code with Steve
This post introduces the dotnet.exe muxer responsible for loading the runtime and the CLI commands, exploring some of its internal code.| Steve Gordon - Code with Steve
In this post, I focus on a middleware technique to add span links between request traces on ASP.NET Core during internal redirects on NET 9.| Steve Gordon - Code with Steve
In this post, I demonstrate enhancements to collections in .NET 9 and C# 13 with IAlternateEqualityComparer and AlternateLookup on a Dictionary.| Steve Gordon - Code with Steve
In this post, I share how to enable testing GitHub webhooks locally using HTTPS with the self-signed ASP.NET Core developer certificate.| Steve Gordon - Code with Steve
In this post, I share a solution to programmatically disable the recording (exporting) of an Activity when instrumenting code for OpenTelemetry.| Steve Gordon - Code with Steve
Throughout its history, .NET has evolved various mechanisms to “log” diagnostic information inside applications and libraries, including TraceSource, EventSource, ILogger, and DiagnosticSource, the subject of this post. TraceSource is a legacy option and is rarely used in new code. ILogger is a simple structured logging abstraction that is well suited to many applications, although it […] The post Understanding System.Diagnostics DiagnosticSource and DiagnosticListener (Part 1) appeared...| Steve Gordon – Code with Steve
In this post, I cover the steps required to create and sign a JSON Web Token, herein abbreviated as JWT, to authenticate a GitHub App built using .NET. I want to state clearly up front that I’m learning as I go while experimenting with a hobby project to develop a GitHub App. Some of the […] The post Authenticating a .NET GitHub App using a JSON Web Token (JWT) appeared first on Steve Gordon - Code with Steve. --- Authenticating a .NET GitHub App using a JSON Web Token (JWT) was first pos...| Steve Gordon – Code with Steve
In a previous post (Automating memory profiling with the JetBrains dotMemory Profiler API), I described the steps that could be used to automate the collection of memory snapshots and profiling data by using the JetBrains Profiler API NuGet package. In that post, we triggered the profiling session using the dotMemory application on Windows. As part […] The post Profiling Memory Allocations on Linux using the JetBrains dotMemory Command-Line Profiler appeared first on Steve Gordon - Code wit...| Steve Gordon – Code with Steve
Those who have read some of my previous performance-focused blog posts will know that I use the dotMemory product from JetBrains when working on code optimisations. In this post, I want to demonstrate a really handy, but somewhat underutilised feature, to automate the collection of snapshots in a repeatable way. I use these steps quite […] The post Automating Memory Profiling with the JetBrains dotMemory Profiler API appeared first on Steve Gordon - Code with Steve. --- Automating Memory Pr...| Steve Gordon – Code with Steve