Writing a .NET profiler in C# — Part 3
Part 3 of a series on writing a .NET profiler in C#, focusing on creating a source generator to automate boilerplate code for the profiling API.
Part 3 of a series on writing a .NET profiler in C#, focusing on creating a source generator to automate boilerplate code for the profiling API.
Explains the Humble Object design pattern for separating hard-to-test dependencies from core logic to improve unit testing in software development.
A technical guide on configuring routing for a Watchguard NVA in an Azure hub-and-spoke network topology, solving a one-way connectivity issue.
Compares performance of C# collection types like List<T>, ReadOnlyCollection<T>, ImmutableArray<T>, and ImmutableList<T> in iteration benchmarks.
Explores the shift from the traditional testing pyramid to a testing diamond model, emphasizing more integration tests for modern architectures.
How to embed Git version information like commit hash and tags directly into C# code using the GitInfo source generator library.
Explains the error NETSDK1194 in .NET builds, why it occurs with recent SDK updates, and how to address it.
A technical guide to implementing iOS 16's 'Shared with You' APIs in third-party apps, including code examples and prerequisites.
Analyzes a performance quirk in C#'s JsonSerializer when creating new JsonSerializerOptions instances, showing significant memory and speed penalties.
Explains the risks of using .NET performance counters and how to read them directly from the registry for reliability.
Explains what middleware is in ASP.NET Core, its role in the request pipeline, and provides a practical implementation example.
Exploring compiler design using functional programming concepts and combinatory logic to transform abstract syntax trees (ASTs) in Python.
A technical guide on implementing a reading time feature for markdown content in both Nuxt 2 and Nuxt 3 frameworks.
A guide to implementing multi-tenancy in ASP.NET Core applications using RavenDB, covering architecture, advantages, and code examples.
A short guide on integrating the Shiki syntax highlighter into an Eleventy (11ty) static site project with minimal code.
A comprehensive mind map visualizing C# language features from version 1.0 through the upcoming C# 12, with clickable links to examples.
Explains the Repository design pattern in C#/.NET, covering its purpose, basic implementation, benefits, and potential drawbacks.
Entity Framework 8 adds native SQL Server support for .NET's DateOnly and TimeOnly types, eliminating the need for custom converters.
An updated, comprehensive overview of the Transformer architecture and its many recent improvements, including detailed notation and attention mechanisms.
Explains C# 'lowering' - how high-level syntax like foreach and async is transformed into simpler constructs by the compiler.