Oğuzhan KARAGÜZEL

OĞUZHAN KARAGÜZEL

Software Developer

NOTES & ARTICLES

My personal notes on the challenges encountered while building a system from scratch, the solutions I found, and a bit of the philosophy behind it all. A mix of the technical and the theoretical.

Hizmetlerimizi anlatan temsili görsel
Native AOT Warnings: How to Fix IL2026, IL3050, IL2057 and IL2075
November 3, 2026

Native AOT Warnings: How to Fix IL2026, IL3050, IL2057 and IL2075

What do the IL2026, IL3050, IL2057 and IL2075 warnings mean in Native AOT? I compiled and ran each one and show the failure and the fix with real output.

.NET
EF Core Compiled Queries: Do They Really Make It Faster?
November 3, 2026

EF Core Compiled Queries: Do They Really Make It Faster?

How much faster does EF.CompileAsyncQuery make queries? I measured it with BenchmarkDotNet on PostgreSQL and SQLite: 3% to 26%, depending on the database.

.NET, EF Core
The EF Core N+1 Problem: How to Spot It and Fix It
November 3, 2026

The EF Core N+1 Problem: How to Spot It and Fix It

What is the N+1 problem in EF Core and how do you catch it in the logs? I measured lazy loading, Include, AsSplitQuery and Select: 147 queries became 1.

.NET, EF Core
Safely Applying EF Core Migrations in Production
November 3, 2026

Safely Applying EF Core Migrations in Production

How should EF Core migrations reach production? I compared Migrate(), idempotent SQL scripts and migration bundles, plus data loss and rollback pitfalls.

.NET, EF Core
JIT vs AOT: Compiling a C# Project with Native AOT
October 25, 2026

JIT vs AOT: Compiling a C# Project with Native AOT

What is the difference between JIT, ReadyToRun and Native AOT? A measured comparison, compiling a C# project with Native AOT step by step, and why AOT warnings matter.

.NET
ReadyToRun and Cold Starts: Why Is the First Request After a Deploy Slow?
October 25, 2026

ReadyToRun and Cold Starts: Why Is the First Request After a Deploy Slow?

Why is the first request after a deploy slow? The cost of the JIT, how to turn on ReadyToRun and what it gains in measurements: a 42% faster first response in an MVC app.

.NET, Docker
The sizes Attribute: Why Browsers Download Images Too Large
October 25, 2026

The sizes Attribute: Why Browsers Download Images Too Large

srcset alone is not enough: how to write sizes so the browser picks the right image, plus auto-fit grids, sizes="auto", picture and a quick way to check.

SEO
Tag-Based Cache Eviction with ASP.NET Core Output Cache
October 25, 2026

Tag-Based Cache Eviction with ASP.NET Core Output Cache

Don't clear the whole cache on every save: evict only the pages that changed with ASP.NET Core Output Cache tags, and warm the cache before visitors arrive.

.NET
Why My Server Froze: Docker Build Cache Filled the Disk
October 25, 2026

Why My Server Froze: Docker Build Cache Filled the Disk

How Docker build cache filled a server disk: the symptoms, diagnosing with df and docker system df, the builder prune fix and lasting safeguards for deploys.

Docker
Resource Hints: preload, prefetch, preconnect and dns-prefetch
October 24, 2026

Resource Hints: preload, prefetch, preconnect and dns-prefetch

What is the difference between preload, prefetch, preconnect and dns-prefetch, and when should you use each? Plus fetchpriority, font-display: swap and common mistakes.

SEO