Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
Series
2 posts found
#middleware
Backend
PART 18
Global Error Handling in ASP.NET Core: Exception Middleware and ProblemDetails
Starting from the real response of an unhandled exception on .NET 6, we move to UseExceptionHandler with an error controller, then to our own middleware that maps domain exceptions to 404/409/500 ProblemDetails.
4 Nov 2026
9 min
2
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