Blaze4
Connect Four web application built with C#/.NET using an N-tier architecture, an ASP.NET Core REST API, a Blazor WebAssembly frontend and Entity Framework Core persistence.
Context
Blaze4 is a Connect Four web application developed as part of an academic project focused on N-tier architectures. Its main architectural goal was to clearly separate business logic, data access and the user interface.
Architecture
The application is organized into several .NET projects: an application layer exposing an ASP.NET Core REST API, a data-access layer based on Entity Framework Core, a Blazor WebAssembly frontend, a shared DTO project and a test project.
Business logic and API
The backend handles game creation, gameplay and turn validation. Connect Four concepts are represented through dedicated domain models, while services, repositories and mappers separate business logic, persistence and API contracts.
Authentication and persistence
The application supports player registration and login using JWT authentication. Data is persisted in SQLite through Entity Framework Core and its migrations.