Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
Series
3 posts found
#Controller
Backend
PART 04
Writing Your First Controller: Routing, Attributes and Action Methods
We write our first real controller. How routing works, what attributes do, how action methods are built, and how an incoming request reaches the right method, step by step.
25 Jul 2026
11 min
92
Backend
PART 03
Controllers or Minimal APIs? When to Choose Which
We compare two ways of writing endpoints in .NET 9: controller-based structure and Minimal APIs. When each makes sense and what the real difference is, made clear with examples.
25 Jul 2026
10 min
129
Backend
PART 02
Setting up the initial project: project structure, Program.cs, and a minimal hosting model.
We set up our first .NET 9 Web API project. We break down Program.cs line by line, and understand the minimal hosting model, the builder-versus-app split, and why middleware order matters.
5 Jul 2026
11 min
151