Hi everyone,
I wanted to share a free resource that might be useful to others building apps with Radzen Blazor components: a book called "Building Blazor Web Apps with Clean Architecture" by Benjamin Fadina, along with the full companion source code.
What it's about
The book walks through building a real task-management app (TaskFlow) as a Blazor Web App using Auto render mode, structured around Clean Architecture principles. It covers:
-
Structuring a solution into Domain, Application, Infrastructure, and Web/Web.Client projects, with the dependency rule enforced so no EF Core code or database credentials ever ship to the WebAssembly client
-
Domain modeling with entities like
TaskItemandCategory, including domain behavior methods (MarkComplete(),IsOverdue()) -
Application-layer DTOs, service interfaces, and implementations
-
EF Core setup with SQL Server:
DbContext, Fluent API configurations, repositories, and aDbSeeder -
Minimal API endpoints (
/api/tasks,/api/categories) to support the WebAssembly client -
Building the actual UI with Radzen Blazor Components — a
DataGridfor tasks, a form dialog for editing tasks, and a categories page with inline dialogs built fromDialogService.OpenAsync
Get the book
Free PDF download:
https://github.com/benjaminsqlserver/TaskFlow/raw/main/TaskFlow-Blazor-CleanArchitecture-Book.pdf
Get the source code
The full, ready-to-open Visual Studio solution (every project and file described in the book) is on GitHub:
https://github.com/benjaminsqlserver/TaskFlow
It targets .NET 10 + SQL Server (LocalDB by default), and includes setup instructions in the README for restoring, running migrations, and seeding starter data.
Hope this is useful to folks here working with Radzen — happy to answer questions about the architecture or the Radzen-specific parts of the implementation!