CotomyForm in Practice

A practical guide to Cotomy form classes, including QueryForm, ApiForm, EntityApiForm, and EntityFillApiForm, with real override points and usage examples.

The Birth of the Form Abstraction

Why Cotomy ended up with multiple form layers, and how that structure came from the gap between desktop application habits and web runtime reality.

Understanding the Cotomy Razor Pages Project Template Structure and Setup

This article explains how the Cotomy Razor Pages template package is distributed, why the root README is the first thing to open, how Standard and Professional differ structurally, and why the correct start path is template install followed by solution generation.

Building Business Screens with Cotomy

A practical guide showing how I usually structure search screens, edit screens, and read-only screens in Razor Pages with Cotomy.

Introducing Project Templates for Razor Pages

Cotomy project templates for Razor Pages are now available in Standard and Professional editions. They are designed for CRUD-heavy business applications where teams want to avoid rebuilding page structure, form flow, authentication, and persistence from scratch.

Where State Actually Changes

In CRUD screens, the core problem is often not where state is stored, but whether the mutation path is defined. Once load, input, save, and reload are allowed to diverge, the screen becomes difficult to reason about.

Synchronizing UI and Server State

Server-side postback screens were limited, but they kept one execution path. Once Ajax became the main update mechanism, keeping display, input state, and server truth aligned became a structural problem.

Screen State Consistency in Long-Lived UIs

State failures in business UIs are usually not isolated bugs. They appear when DOM state, in-memory state, and server state have no explicit ownership and synchronization rules.

Entity Identity and Surrogate Key Design

Why I moved from natural keys to surrogate keys, and why that change made both database design and application code easier to manage.

Consistent Data Flow from Persisted Models to the Frontend

Why I care about keeping names consistent from Entity Framework models to Razor Pages forms and Cotomy, and how that reduces mistakes in long-lived business systems.