Mert Özen Further With Every Line

Blog

Mert Özen's blog posts on software development, backend, frontend, and DevOps.

Series
32 posts found #dotnet-6
Model Binding in ASP.NET Core: FromRoute, FromQuery, FromBody and FromHeader
Backend PART 08

Model Binding in ASP.NET Core: FromRoute, FromQuery, FromBody and FromHeader

How request data binds to action parameters from the route, query string, body, headers, forms and services, the inference rules of [ApiController], and why you get 415 and 400 errors, with real responses.

4 Nov 2026 8 min 2
Status Codes and Responses in ASP.NET Core: Ok, CreatedAtAction and ProblemDetails
Backend PART 07

Status Codes and Responses in ASP.NET Core: Ok, CreatedAtAction and ProblemDetails

Returning the right status code with ControllerBase helpers, the surprise 204 on null, CreatedAtAction and the Location header, choosing between 400/404/409, ProblemDetails and content negotiation, with real responses.

4 Nov 2026 8 min 2
Controllers and Actions in ASP.NET Core: A CRUD Skeleton with [ApiController]
Backend PART 06

Controllers and Actions in ASP.NET Core: A CRUD Skeleton with [ApiController]

The difference between ControllerBase and Controller, the four behaviors [ApiController] adds, choosing between IActionResult and ActionResult<T>, and an in-memory CRUD skeleton, all with real curl output.

4 Nov 2026 9 min 2
Routing in ASP.NET Core Web API: Attribute Routing, Route Templates and Constraints
Backend PART 05

Routing in ASP.NET Core Web API: Attribute Routing, Route Templates and Constraints

The decide-and-execute steps of endpoint routing, attribute routing and the [controller]/[action] tokens, route template parts, constraints and precedence, conflicting routes and AmbiguousMatchException.

4 Nov 2026 8 min 2
The ASP.NET Core Middleware Pipeline: Ordering, Use, Run, Map and Your Own Middleware
Backend PART 04

The ASP.NET Core Middleware Pipeline: Ordering, Use, Run, Map and Your Own Middleware

We follow a request through the middleware rings and the response back out: Use, Run and Map, writing middleware as a class, the effect of ordering, the recommended order of built-in middleware and typical pitfalls.

4 Nov 2026 7 min 2
Program.cs and the Hosting Model in ASP.NET Core: WebApplication and Environments
Backend PART 03

Program.cs and the Hosting Model in ASP.NET Core: WebApplication and Environments

The two phases of the minimal hosting model: preparing services, configuration and logging on the builder, then the pipeline and endpoints on the app. Environments, app.Run() and the Generic Host behind it all.

4 Nov 2026 7 min 2
Your First ASP.NET Core Web API Project: .NET SDK, global.json and Project Structure
Backend PART 02

Your First ASP.NET Core Web API Project: .NET SDK, global.json and Project Structure

SDK versus runtime, multiple SDKs and global.json, how the dotnet new webapi template changed across versions, the csproj and TargetFramework, launchSettings.json and why the first request returns 307.

4 Nov 2026 8 min 2
What Is an ASP.NET Core Web API? HTTP and REST Fundamentals
Backend PART 01

What Is an ASP.NET Core Web API? HTTP and REST Fundamentals

We meet the Web API through the HTTP window: request and response anatomy, methods and idempotency, status code families and resource-oriented URLs. We also lay out the series: a .NET 6 core, then version posts.

4 Nov 2026 9 min 2
Blog Map