user@runtime:~/blog$ grep -l "dotnet" posts/*.md

dotnet

205 posts tagged with dotnet.

2025-09-08 4m

Authorisation Policies and Requirements in ASP.NET Core

Build fine-grained authorisation using policies, requirements, and handlers in ASP.NET Core for claims-based, resource-based, and role-based access control.

2025-09-07 4m

Shadow Properties in EF Core: Database Columns Without CLR Properties

How to use EF Core shadow properties to add database columns that don't appear on your entity classes, keeping your domain model clean.

2025-09-04 4m

Custom Authentication Handlers in ASP.NET Core

Build custom authentication handlers in ASP.NET Core for API key, HMAC, and token-based authentication schemes.

2025-09-04 4m

ArrayPool<T> and Memory Pooling in .NET

Use ArrayPool<T> and MemoryPool<T> to rent and return buffers, drastically cutting array allocations in high-throughput code.

2025-09-03 4m

Query Splitting: Taming the Cartesian Explosion in EF Core

How EF Core's split queries prevent cartesian explosion when loading multiple related collections, and when to use them.

2025-09-01 4m

OpenAPI and Swagger Generation in ASP.NET Core

Generate OpenAPI specifications from ASP.NET Core APIs using the built-in OpenAPI support and Swashbuckle, with customisation for schemas, security, and documentation.

2025-09-01 4m

Object Pooling with ObjectPool<T> in .NET

Reduce GC pressure and allocation overhead by reusing objects with Microsoft.Extensions.ObjectPool.

2025-09-01 4m

Change Tracking Deep Dive: How EF Core Knows What Changed

A deep dive into EF Core's change tracker, exploring how it detects modifications, the role of entity states, and strategies for optimising performance.

2025-08-28 4m

Minimal API Route Groups and Filters in ASP.NET Core

Organise minimal API endpoints with route groups and add cross-cutting behaviour with endpoint filters for validation, logging, and transformation.

2025-08-25 4m

Problem Details and RFC 9457 in ASP.NET Core

Use the Problem Details standard (RFC 9457) in ASP.NET Core to return consistent, machine-readable error responses from your APIs.

2025-08-21 4m

Custom Model Binders in ASP.NET Core

Build custom model binders in ASP.NET Core to handle non-standard parameter formats like comma-separated lists, composite keys, and smart parsing.

2025-08-18 4m

Content Negotiation in ASP.NET Core

How ASP.NET Core selects response formats using content negotiation, and how to add custom formatters for XML, CSV, and other media types.

2025-08-14 4m

API Versioning Strategies in ASP.NET Core

Implement URL, query string, header, and media type API versioning in ASP.NET Core using the Asp.Versioning packages.

2025-08-12 4m

Implicit Indexer Access in Object Initialisers

C# 13 allows the implicit 'from the end' index operator (^) inside object initialisers, completing index expression support.

2025-08-11 4m

Polly Resilience Pipelines in ASP.NET Core

Build fault-tolerant HTTP calls using Polly v8 resilience pipelines with retry, circuit breaker, timeout, and rate limiter strategies.

2025-08-08 4m

The \e Escape Sequence: First-Class Terminal Escape Codes in C#

C# 13 adds the \e escape sequence for the ESC character, making ANSI terminal formatting cleaner and less error-prone.

2025-08-07 4m

Typed HttpClient with HttpClientFactory in ASP.NET Core

Use IHttpClientFactory and typed clients to manage HTTP connections properly, avoiding socket exhaustion and DNS staling.

2025-08-05 4m

The Lock Object: A Purpose-Built Synchronisation Primitive

C# 13 introduces System.Threading.Lock, a dedicated type for the lock statement that improves performance and clarity.

2025-08-04 4m

Background Services with IHostedService and BackgroundService

Build long-running background tasks in ASP.NET Core using IHostedService and BackgroundService, with patterns for queued work, timed execution, and graceful shutdown.

2025-08-01 4m

Partial Properties: Completing the Partial Story

C# 13 extends partial members to include properties and indexers, enabling cleaner source generator patterns.

2025-08-01 4m

Custom Middleware Patterns in ASP.NET Core

How to build convention-based and factory-based middleware in ASP.NET Core, including branching, short-circuiting, and testability patterns.

2025-07-29 4m

Params Collections: Beyond Arrays with params

C# 13 extends the params keyword to work with any collection type including spans, lists, and custom collections.

2025-07-25 4m

Inline Arrays: Fixed-Size Buffers Without Unsafe Code

C# 12 inline arrays embed fixed-size buffers directly in structs, enabling stack-allocated collections without unsafe blocks.

2025-07-22 4m

Ref Readonly Parameters: Passing by Reference Without the Pitfalls

C# 12's ref readonly parameters offer a safe middle ground between in parameters and ref parameters for high-performance code.

2025-07-18 4m

Default Lambda Parameters: Optional Arguments in Anonymous Functions

C# 12 brings default parameter values to lambda expressions, aligning their capabilities with regular methods.