Articles
In-depth technical articles about various .NET development topics. These are stand-alone helpful articles that cover specific topics in detail, providing insights, best practices, and code examples to help you understand and apply the concepts effectively. But are not full step-by-step tutorials.
- The FixedStepClock: Why Games Keep Two Clocks
Why the naive game loop breaks down, and how the FixedStepClock class used in the Mythic Maze game separates simulation time from rendering time.
- Building a Physics-Based Visual Dice Roller for Blazor
How d20Tek.DiceNotation.Blazor takes a completed DiceResult and animates it as physical dice tumbling across a tray, drawn on an HTML canvas and driven by a physics engine.
- Visual Dice Roller for Blazor - Design Document
A design for a Blazor component that animates dice rolling in a 2D tray using HTML Canvas and physics, while the DiceNotation library remains the authoritative source of results.
- Publishing to NuGet.org from GitHub Actions using Trusted Publishing
Migrate your GitHub Actions workflow from long-lived NuGet API keys to OIDC-based Trusted Publishing before the keys are deprecated.
- Fixing Blazor WebAssembly Deep Linking on Azure Static Web Apps
How to fix Blazor WASM deep links with `staticwebapp.config.json` with proper cache-control headers.
- Eliminate Double‑Fetch in Blazor Prerendering with PersistentComponentState
How to use `[PersistentState]` to avoid double-fetching data in Blazor prerendered components.
- Make Time Testable with TimeProvider
Learn how to make time testable in your application by using the new .NET TimeProvider class.
- Using CollectionsMarshal for faster Dictionary access
Learn about using the CollectionsMarshall class to make Dictionary upsert more performant.
- Extension Members in C# 14
Extension members bring the ability to extend properties and static members now too.