Posts

Page 9 of 15

user@runtime:~/blog$ ls -la posts/ --sort=date
devops 2026-01-04 4m

Multi-Stage Docker Builds for .NET Applications

Use multi-stage Docker builds to produce small, secure .NET container images without shipping the SDK.

devops 2026-01-02 3m

GitHub Actions for .NET: A Practical CI/CD Pipeline

Build a complete CI/CD pipeline for .NET projects using GitHub Actions, from restore through to deployment.

concurrency 2026-01-01 4m

Interlocked and Lock-Free Patterns in .NET

Use Interlocked operations for high-performance, lock-free atomic updates to shared state in concurrent .NET applications.

async 2025-12-29 4m

SemaphoreSlim for Async Throttling and Rate Limiting

Use SemaphoreSlim to limit concurrent access to resources in async code, preventing overload of databases, APIs, and shared services.

security 2025-12-27 4m

Security Headers Middleware for ASP.NET Core

Building a comprehensive security headers middleware for ASP.NET Core that covers X-Content-Type-Options, X-Frame-Options, Referrer-Policy, and more.

async 2025-12-25 4m

IAsyncEnumerable and Async Streams in .NET

Stream data asynchronously with IAsyncEnumerable, reducing memory usage and enabling reactive-style processing over async data sources.

security 2025-12-23 4m

Cryptography in .NET: Hashing, Encryption, and Getting It Right

A practical guide to hashing passwords, encrypting data, and using .NET's cryptography APIs without the common pitfalls.

async 2025-12-22 4m

CancellationToken Best Practices in .NET

Learn how to properly propagate, link, and respond to CancellationTokens throughout your async .NET code.

security 2025-12-21 4m

Input Validation and Sanitisation in .NET

Practical approaches to validating and sanitising user input in .NET applications to prevent injection attacks and data corruption.

security 2025-12-19 4m

API Key Authentication Patterns in ASP.NET Core

Implementing API key authentication in ASP.NET Core using middleware, authentication handlers, and endpoint filters.

async 2025-12-18 4m

Task.WhenAll vs Task.WhenAny: Patterns for Concurrent Operations

Master Task.WhenAll and Task.WhenAny patterns for running concurrent async operations, with error handling and timeout strategies.

security 2025-12-17 4m

Role-Based vs Policy-Based Authorisation in ASP.NET Core

Comparing role-based and policy-based authorisation in ASP.NET Core, with practical examples showing when to use each approach.

blazor 2025-12-16 4m

Blazor Custom Elements: Using Blazor Components Outside Blazor

Registering Blazor components as web custom elements for use in non-Blazor applications.

security 2025-12-15 4m

Customising ASP.NET Core Identity: Beyond the Defaults

How to extend and customise ASP.NET Core Identity with custom user properties, stores, password policies, and token providers.

async 2025-12-15 4m

Parallel.ForEachAsync: Controlled Async Concurrency

Use Parallel.ForEachAsync to process collections concurrently with built-in degree-of-parallelism control and cancellation support.

security 2025-12-13 4m

Secrets Management in .NET: From User Secrets to Azure Key Vault

Practical patterns for managing secrets in .NET applications, covering user secrets for development and Key Vault for production.

blazor 2025-12-12 4m

Virtualisation in Blazor: Rendering Large Lists Efficiently

Using the Virtualize component to render thousands of items without destroying performance.

security 2025-12-11 4m

Content Security Policy Headers in ASP.NET Core

How to implement Content Security Policy headers to mitigate XSS and data injection attacks in ASP.NET Core applications.

async 2025-12-11 4m

System.Threading.Channels for Producer-Consumer Pipelines

Use System.Threading.Channels to build efficient, back-pressure-aware producer-consumer pipelines in .NET.

blazor 2025-12-09 4m

Error Boundaries in Blazor: Graceful Error Handling

Using ErrorBoundary components to catch and recover from runtime errors without crashing the entire application.

security 2025-12-09 4m

CSRF Protection in ASP.NET Core: How Anti-Forgery Tokens Work

Understanding cross-site request forgery attacks and how ASP.NET Core's anti-forgery system prevents them.

async 2025-12-08 4m

SynchronizationContext Demystified

Understand what SynchronizationContext is, how different .NET platforms implement it, and why it shapes async behaviour.

security 2025-12-07 4m

HTTPS and Certificate Management in .NET

Configuring HTTPS in ASP.NET Core, managing certificates for development and production, and enforcing secure connections.

blazor 2025-12-05 4m

QuickGrid: High-Performance Data Grids in Blazor

Using the built-in QuickGrid component for sorting, filtering, and paginating tabular data.

security 2025-12-05 4m

The ASP.NET Core Data Protection API: Encrypting Data the Right Way

How ASP.NET Core's Data Protection API handles key management, encryption, and data persistence — and how to configure it for production.