Skip to main content

Project Templates

Cotomy Razor Pages Project Template

Stop rebuilding authentication, CRUD, and project structure for every business app — start with the foundation already in place.

Standard provides a lightweight foundation with a UI framework and authentication hook. Professional adds Cookie authentication, CRUD templates, and EF Core for a production-ready architecture. Both editions are built on Cotomy OSS as the core.

Built for apps that don't need a SPA

Not every business system needs a full front-end framework. Internal tools, CRUD-heavy workflows, and admin screens are a natural fit for server-rendered pages. Cotomy is designed for this — a Razor Pages foundation with structured TypeScript, per-screen architecture, and predictable patterns that stay maintainable as the project grows.

Which Edition Fits Your Project?

Most projects should choose Professional — it includes everything needed to ship a working business app from day one. Standard is for custom backend cases.

Standard

UI only — bring your own backend

Cotomy Standard

$39launch — $49 regular

UI Framework + Page Architecture + Authentication Hook. Ideal for projects that add UI to an existing backend, or when you want to design your own authentication and data layer.

What's included

  • CotomyPageController — screen lifecycle management
  • Form / Renderer — two-way binding form infrastructure
  • Dialog / ModalDialog / SidePanel components
  • ProcessingArea — async operation display

See detailed comparison ↓

Edition selection happens on the store page.

Go to store and choose your editionopen_in_new

Feature Comparison

FeatureStandardProfessional
UI Framework (Form / Dialog / SidePanel)Two-way binding forms, modal dialogs, side panels, and async display areas
TypeScript / webpack integrationPer-page entry point bundling with full TypeScript compilation
Authentication hook (IAuthorityUserProvider)Interface + DemoAuthProvider skeleton — plug in your own implementation
Cookie authentication (fully implemented)HttpOnly / Secure / SameSite / Sliding Expiration, fully wired
Login UI / user management screenLogin / logout pages and User CRUD admin screen
CRUD templates (Product / Order / User)List, detail, edit, and delete pages with pagination and filtering
EF Core + SQL Server integrationCode-first DbContext, entity base class, and migrations
Role-based authorization + Permission CheckerIPermissionChecker contract with role-based access control
DTO contract pattern (Request / Response)Separate Request / Response DTOs decoupled from Entity classes
Validation pipeline (unified error format)DataAnnotations + ApiMessage unified error response format
Persistence architecture (Repository / Transaction / RowVersion)Repository pattern, transaction boundaries, and optimistic concurrency

From Purchase to Running

The setup is designed so you can start building immediately after purchase.

  1. Choose an edition and purchase — open Cotomy Store and choose your edition.
  2. Extract the archive — unzip the downloaded template and open the folder in VS Code.
  3. Install dependencies — run npm install and dotnet restore in the terminal.
  4. Start the dev server — run dotnet run to launch the app. Full setup instructions are in the README.md bundled with the template.

For Cotomy OSS usage, see the Getting Started guide and the Reference documentation.

Requirements

The templates require the following environment.

  • OS: Windows 11 or later / macOS (Apple Silicon or Intel)
  • .NET SDK 10
  • Node.js 20 or later (includes npm)
  • Git
  • VS Code (recommended)

The Professional edition requires Docker for SQL Server — a docker-compose.sqlserver.yml is included. The dotnet ef CLI tool is also required for database migrations (dotnet tool install --global dotnet-ef).

Cotomy Razor Pages Project Template

Skip the boilerplate. Start with the right structure on day one.