A comprehensive guide to building modern web applications with the Dext Framework for Delphi.
- Getting Started - Installation & Hello World
- Web Framework - Minimal APIs & Controllers
- ORM - Database access & queries
- Minimal APIs - Route handlers with
MapGet,MapPost - Controllers - MVC-style controllers
- Model Binding - JSON/Form to objects
- Routing - URL patterns & parameters
- Middleware - Request pipeline
- JWT Authentication - Token-based auth
- Claims Builder - User claims
- OpenAPI / Swagger - API documentation
- Rate Limiting - Request throttling
- CORS - Cross-origin requests
- Response Caching - Cache headers
- Health Checks -
/healthendpoint
- Getting Started - First entity & context
- Entities & Mapping -
[Table],[Column],[PK] - Querying -
Where,OrderBy,Take - Smart Properties - Type-safe expressions
- JSON Queries ⭐ NEW - Query JSON/JSONB columns
- Specifications - Reusable query patterns
- Relationships - 1:1, 1:N, Lazy Loading
- Migrations - Schema versioning
- Scaffolding - DB-first code generation
- Multi-Tenancy - Schema/DB/Column isolation
- Zero-Code CRUD - REST from entities
- Hubs (SignalR) - WebSocket messaging
- Mocking -
Mock<T>and verification - Assertions - Fluent
Should()syntax - Snapshots - JSON snapshot testing
- Commands -
dextCLI overview - Migrations -
migrate:up,migrate:down - Scaffolding -
dext scaffold - Testing -
dext test --coverage - Dashboard -
dext ui
- Dependency Injection
- Background Services
- Configuration -
IOptions<T> - Async API -
TAsyncTask
11. Desktop UI (Dext.UI) ⭐ NEW
- Navigator Framework - Push/Pop navigation with middlewares
- Magic Binding - Declarative UI data binding
- MVVM Patterns - Architecture guide
- REST Client - Fluent HTTP Client
Each chapter references working examples from the Examples/ directory:
| Example | Topics |
|---|---|
| Web.MinimalAPI | Minimal APIs, Routing |
| Web.ControllerExample | Controllers, DI |
| Web.JwtAuthDemo | JWT, Authentication |
| Web.SwaggerExample | OpenAPI, Documentation |
| Web.RateLimitDemo | Rate Limiting |
| Web.DatabaseAsApi | Zero-Code CRUD |
| Web.DextStore | Full E-commerce API |
| Orm.EntityDemo | ORM Basics |
| Hubs | Real-Time SignalR |
| Desktop.MVVM.CustomerCRUD | Navigator, MVVM, Testing |
Found an error? Want to improve the docs? Please open an issue or submit a PR!
Last updated: January 2026