A small ASP.NET Core Razor Pages app for managing workshop clients and the vehicles they own. Clients and vehicles, create/edit/list, search, validation, EF Core with SQLite.
| Clients | Client detail |
|---|---|
![]() |
![]() |
| Vehicles | New vehicle |
|---|---|
![]() |
![]() |
Searching 12ab34 on the Clients page finds the owner of plate 12-AB-34:
At phone width the table scrolls inside its own card instead of stretching the page:
Needs the .NET 8 SDK. Nothing else: no database to install, no configuration to edit.
dotnet run --project src/ClientVehicles.WebThen open the URL printed in the console (http://localhost:5000 by default).
The database is created and seeded with demo data on first start. Deleting
src/ClientVehicles.Web/clientvehicles.db and restarting resets it.
dotnet test60 tests. They run against real SQLite rather than a fake in-memory provider, because several of them check database constraints that a fake doesn't enforce.
src/ClientVehicles.Web/
Domain/ Client, Vehicle
Data/ DbContext, entity configuration, migrations, demo data
Services/ search normalization and the rules that need the database
Pages/ Clients/, Vehicles/
tests/ClientVehicles.Tests/
NOTES.md covers what was built, what was tested, and what was left out of scope.





