//JorgenHoc
Practical .NET guides

.NET deep dives
without the fluff

Practical guides on Entity Framework Core, C# async/await, and .NET cloud hosting — with runnable code and interactive visualizers in the pillar guides.

Start here

Comprehensive guides

Recent articles

View all →
EF Core

Caching EF Core Queries with HybridCache in .NET 10

Cache EF Core query results with .NET 10's HybridCache: stampede protection, tag-based invalidation, and optional Redis L2 — with measured SQL statement counts.

Sep 4, 202610 min read
Async C#

Async Exception Handling in C# — The Complete Guide

Handle exceptions in async C# code: try/catch with await, AggregateException from Task.WhenAll, async void pitfalls, exception filters, and global unobserved task handlers.

Jun 12, 202623 min read
Async C#

CancellationToken in C# — Practical Patterns

CancellationToken in C# with every claim asserted by a runnable sample: cooperative cancellation, timeout vs caller-cancel detection, linked tokens, Register semantics, and graceful shutdown in ASP.NET Core.

Jun 12, 202619 min read
.NET Hosting

Cheapest Way to Host a .NET App in 2026

Find the cheapest .NET hosting in 2026: free tiers, $5–$10/month options, and what you actually give up. Covers Railway, Fly.io, Render, Oracle Cloud, and Azure.

Jun 12, 202620 min read
Async C#

ConfigureAwait(false) in C# — The Complete Explanation

Understand exactly what ConfigureAwait(false) does — measured in SynchronizationContext.Post calls — when you need it, when you can skip it, and the .NET 8 ConfigureAwaitOptions overload.

Jun 12, 202617 min read
.NET Hosting

.NET Docker Container — Production-Ready Dockerfile

Build production-grade Docker images for .NET 10 apps: multi-stage builds, non-root users, health checks, layer caching, image size comparison, and docker-compose for local dev.

Jun 12, 202616 min read

Browse by topic