CotomyForm in Practice
A practical guide to Cotomy form classes, including QueryForm, ApiForm, EntityApiForm, and EntityFillApiForm, with real override points and usage examples.
A practical guide to Cotomy form classes, including QueryForm, ApiForm, EntityApiForm, and EntityFillApiForm, with real override points and usage examples.
Why Cotomy ended up with multiple form layers, and how that structure came from the gap between desktop application habits and web runtime reality.
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.
A practical guide showing how I usually structure search screens, edit screens, and read-only screens in Razor Pages with Cotomy.
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.
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.
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.
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.
Why I moved from natural keys to surrogate keys, and why that change made both database design and application code easier to manage.
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.