Mert Özen Go Beyond the Code

Blog

Posts and series that take software and IT from the basics to advanced topics: from programming languages and databases to architecture and AI.

Series
1990 posts found
How Frameworks Map to the Patterns: Is Angular MVC or MVVM? React, Blazor, WPF and ASP.NET Core
Software Architecture PART 05

How Frameworks Map to the Patterns: Is Angular MVC or MVVM? React, Blazor, WPF and ASP.NET Core

Angular is neither classic MVC nor pure MVVM: the component class carries view state and view logic like a ViewModel, the template binds to it, and signals derive the UI from state the way React does. We write and run the same order form with React, Blazor and Razor Pages as well, and show how to read frameworks with three questions (where does state live, how does it sync, can you test without the view) instead of labels.

8 Nov 2026 11 min 70
MVVM and Presentation Model: Data Binding, Commands and the ViewModel
Software Architecture PART 04

MVVM and Presentation Model: Data Binding, Commands and the ViewModel

MVVM is Fowler's Presentation Model built on data binding: the ViewModel carries view state and view logic, binding keeps it in sync with the view, and user actions become commands with CanExecute. We write the order form's ViewModel in C# with the CommunityToolkit.Mvvm 8.4 source generators and in Angular 22 with signals, test both without a view, and look at binding's silent failures with real output.

8 Nov 2026 11 min 58
The MVP Pattern: Passive View, Supervising Controller and a Testable Presenter
Software Architecture PART 03

The MVP Pattern: Passive View, Supervising Controller and a Testable Presenter

In MVP the view retreats behind an interface and all screen logic moves into the presenter, so the presenter can be tested in milliseconds with a fake view and no DOM. We build the order form in TypeScript with an OrderFormView interface, a DOM implementation and Vitest tests, and look at the difference between Passive View and Supervising Controller and at how to keep the presenter from bloating.

8 Nov 2026 12 min 66
The MVC Pattern: Original Smalltalk MVC and Web MVC Are Not the Same
Software Architecture PART 02

The MVC Pattern: Original Smalltalk MVC and Web MVC Are Not the Same

In the original Smalltalk-80 MVC, views observe the model and the controller only interprets user input; in Web MVC the view never observes the model, the controller runs once per HTTP request and the view renders once. We build the same order form first in TypeScript with an observable model, then with ASP.NET Core MVC, and compare the two flows along with the fat controller and anemic view model traps.

8 Nov 2026 11 min 72
Why UI Architecture Patterns Exist: Separated Presentation and a Short History from MVC to Signals
Software Architecture PART 01

Why UI Architecture Patterns Exist: Separated Presentation and a Short History from MVC to Signals

UI architecture patterns exist to solve one problem: when screen code and domain logic are tangled, neither can be changed or tested. In this post we move the Bookstore order form from a Smart UI with all logic in event handlers to Separated Presentation, separate view state from domain state, and walk the history from MVC to signals together with the problem each pattern solved.

8 Nov 2026 11 min 76
From Monolith to Microservices: Strangler Fig, Branch by Abstraction and the Distributed Monolith Trap
Software Architecture PART 12

From Monolith to Microservices: Strangler Fig, Branch by Abstraction and the Distributed Monolith Trap

You don't move from a monolith to microservices by rewriting from scratch but by putting a proxy in front of the monolith and taking capabilities out one at a time (strangler fig); internal calls are separated with branch by abstraction, the new path is verified with a parallel run, and the goal is independently deployable services, not a distributed monolith. Real route output with YARP, a dry-run parallel run, and the data-first or code-first decision.

8 Nov 2026 11 min 81
Microservices in Production: Distributed Tracing, Resilience and Independent Deployment
Software Architecture PART 11

Microservices in Production: Distributed Tracing, Resilience and Independent Deployment

Running microservices in production takes three things: distributed tracing that follows a request across services (with W3C traceparent), timeouts, retries and circuit breakers thought through at the service level, and independent deployment of every service with its own pipeline, backward compatibility and contract tests. Real trace output with .NET's Activity, retries per layer turning into 64 requests, the trap of tying readiness to downstreams, and where can-i-deploy fits in CI.

8 Nov 2026 10 min 57
Security in Microservices: Edge Authentication, Token Propagation and Service-to-Service Trust
Software Architecture PART 10

Security in Microservices: Edge Authentication, Token Propagation and Service-to-Service Trust

In microservices, authentication happens at the edge and fine-grained authorization inside every service; the user's token isn't carried unchanged along the chain but exchanged at each boundary for a token with a narrow audience and a known actor, while calls without a user prove identity with client credentials or mTLS. Real 401 output from audience validation, a confused deputy example and its fix, zero trust and secret management.

8 Nov 2026 10 min 61
Service Discovery: Client-Side, Server-Side, Kubernetes DNS and .NET Service Discovery
Software Architecture PART 09

Service Discovery: Client-Side, Server-Side, Kubernetes DNS and .NET Service Discovery

Service discovery turns a logical name like "Inventory" into the addresses of the instances that are healthy right now; Kubernetes does it server-side with Services and DNS, and in .NET Microsoft.Extensions.ServiceDiscovery finds addresses from configuration in development and from the platform's DNS in the cluster with the same code. Real round-robin output, a dead instance left in the list failing a third of the requests, and when a service mesh isn't needed.

8 Nov 2026 10 min 77
API Gateway and Backend for Frontend: What Belongs at the Edge and What Doesn't
Software Architecture PART 08

API Gateway and Backend for Frontend: What Belongs at the Edge and What Doesn't

An API Gateway does the edge work that's the same for every client (routing, TLS termination, token validation, rate limiting); aggregation, response shaping and token handling specific to one user experience belong in a Backend for Frontend owned by that experience's team, and business rules go in neither. A real BFF endpoint that calls three services in parallel for the book detail page and survives an Inventory outage, RFC 10017's BFF recommendation, and the god gateway trap.

8 Nov 2026 11 min 67
Service Contracts and Versioning: Expand-Contract, Tolerant Reader and Consumer-Driven Contract Tests
Software Architecture PART 07

Service Contracts and Versioning: Expand-Contract, Tolerant Reader and Consumer-Driven Contract Tests

Whether a change is breaking can't be decided from the provider's code alone; you need to know what consumers read, so consumers act as tolerant readers, the provider splits breaking changes into expand-contract steps, and consumer-driven contract tests show whom a change would break before it is deployed. Real Pact verification output between a TypeScript consumer and a .NET provider, Deprecation/Sunset headers, and the cost of versioning at the service level.

8 Nov 2026 13 min 81
Microservice Communication Styles: Sync Request/Response, Async Events and Temporal Coupling
Software Architecture PART 06

Microservice Communication Styles: Sync Request/Response, Async Events and Temporal Coupling

If the caller must wait for the answer, communication is synchronous however much await the code has, and it binds two services through temporal coupling; if the answer isn't needed now, prefer an event or a local copy. A comparison of REST, gRPC (including deadlines reaching the server) and messages, a checkout simulation while Inventory is being deployed, the command versus event split, and a decision table.

8 Nov 2026 12 min 72
Blog Map