Posts

Page 10 of 15

user@runtime:~/blog$ ls -la posts/ --sort=date
async 2025-12-04 4m

ConfigureAwait Explained: When and Why It Matters

Understand what ConfigureAwait(false) actually does, when to use it, and why library authors care about it more than application developers.

security 2025-12-03 4m

OAuth 2.0 and OpenID Connect in .NET: What You Actually Need to Know

A practical breakdown of OAuth 2.0 and OpenID Connect in ASP.NET Core, covering authorization code flow, token handling, and common integration patterns.

blazor 2025-12-02 4m

State Management Patterns in Blazor

Practical approaches to managing state in Blazor applications, from simple services to Fluxor.

async 2025-12-01 4m

Async/Await Under the Hood: How the Compiler Builds State Machines

Explore how the C# compiler transforms async methods into state machines, and what actually happens when you await a Task.

security 2025-12-01 4m

JWT Authentication in ASP.NET Core: A Practical Guide

How to implement JWT bearer authentication in ASP.NET Core, from token generation to validation and refresh strategies.

architecture 2025-11-28 4m

The Result Pattern for Error Handling in .NET

How to replace exceptions with the Result pattern in .NET for predictable, composable error handling in your domain and application layers.

blazor 2025-11-28 4m

Authentication and Authorisation in Blazor

Implementing authentication flows and role-based authorisation in Blazor applications.

blazor 2025-11-25 4m

Enhanced Navigation and Form Handling in Blazor

How Blazor's enhanced navigation intercepts link clicks for SPA-like transitions without full page reloads.

architecture 2025-11-25 4m

The Decorator Pattern with Dependency Injection in .NET

How to use the decorator pattern with .NET's DI container to add cross-cutting concerns like caching, logging, and retry logic without modifying existing code.

architecture 2025-11-21 4m

Feature Flags in .NET with Microsoft.FeatureManagement

How to implement feature flags in .NET using Microsoft.FeatureManagement for safe deployments, A/B testing, and gradual rollouts.

blazor 2025-11-21 4m

Blazor Sections and Streaming Rendering in .NET 8

Using SectionOutlet and streaming rendering to build responsive pages that load progressively.

architecture 2025-11-19 4m

The Modular Monolith in .NET: Best of Both Worlds

How to structure a modular monolith in .NET that gives you the boundaries of microservices without the operational complexity.

blazor 2025-11-18 4m

JavaScript Interop in Blazor: When and How to Call JS from .NET

Practical patterns for calling JavaScript from Blazor and .NET from JavaScript.

architecture 2025-11-17 4m

Event Sourcing Basics in .NET

An introduction to event sourcing in .NET, covering event stores, aggregate rehydration, and projections with practical code examples.

architecture 2025-11-15 4m

The Saga Pattern in .NET: Managing Distributed Transactions

How to use the saga pattern to coordinate multi-step business processes across services in .NET, with orchestration and choreography approaches.

blazor 2025-11-14 4m

Forms and Validation in Blazor

Building robust forms with built-in validation using EditForm, DataAnnotations, and custom validators.

architecture 2025-11-13 4m

The Outbox Pattern for Reliable Messaging in .NET

How to use the transactional outbox pattern to guarantee reliable message publishing alongside database writes in .NET.

testing 2025-11-12 5m

Respawn: Fast Database Reset Between Integration Tests

Use Respawn to intelligently reset your test database between tests without the overhead of dropping and recreating it.

blazor 2025-11-11 4m

Cascading Values and Parameters in Blazor

How to pass data down the component tree without prop drilling using cascading values.

architecture 2025-11-11 4m

The Specification Pattern in .NET: Composable Query Logic

How to use the specification pattern to encapsulate, compose, and reuse query logic in .NET applications.

architecture 2025-11-09 4m

The Repository Pattern: When to Use It and When to Skip It

A balanced look at the repository pattern in .NET, including when it helps, when it hurts, and what alternatives exist.

testing 2025-11-08 4m

Testing Async Code in .NET: Patterns and Pitfalls

Practical patterns for testing asynchronous .NET code correctly, including common mistakes that lead to false-passing tests.

blazor 2025-11-07 4m

Understanding the Blazor Component Lifecycle

A deep dive into Blazor's component lifecycle methods and when each one fires.

architecture 2025-11-07 4m

Domain-Driven Design Value Objects in C#

How to implement value objects in C# to encode domain rules, eliminate primitive obsession, and make invalid states unrepresentable.

architecture 2025-11-05 4m

CQRS with MediatR in .NET: Separating Reads from Writes

A hands-on guide to implementing the CQRS pattern in .NET using MediatR, with pipeline behaviours for cross-cutting concerns.