ParkingHQ is a car park management web application for administering multiple car parks, their tariffs, permanent tenants, and parking transactions. It includes a simulation module to generate entry/exit events and an evaluation module to review transactions and occupancy.
Built with ASP.NET Core Razor Pages (.NET 9) and Entity Framework Core on SQL Server.
- Dashboard – Live capacity utilization per car park, split between visitors and permanent tenants.
- Car Parks – Create, edit, and delete car parks; manage floors, weekday tariffs, holiday tariffs, and holiday dates.
- Permanent Tenants – Manage tenants and assign them to parking lots.
- Simulation – Simulate entries and exits for both ticketed visitors and permanent tenants.
- Evaluation – Review entry/exit history and transactions per car park, with date filtering.
Overview of every car park with current capacity utilization for visitors and tenants.
Manage car parks, floors, and tariff configuration.
Maintain tenants and their parking lot assignments.
Simulate entry and exit events with tickets or tenants.
Filterable entry/exit and transaction reporting per car park.
- .NET 9 / ASP.NET Core Razor Pages
- Entity Framework Core 9 (Code First with migrations)
- SQL Server (LocalDB / SQL Server Express)
- Repository and Unit of Work patterns
| Project | Description |
|---|---|
ParkingHQ.Web |
Razor Pages front-end (UI, page models, Program.cs). |
ParkingHQ.Models |
Domain entities (CarPark, Tenant, Transaction, tariffs, etc.). |
ParkingHQ.DataAccess |
EF Core DbContext, repositories, Unit of Work, and migrations. |
ParkingHQ.Utility |
Business logic helpers (parking, tenants, transactions, entry/exit). |
- .NET 9 SDK
- SQL Server (Express/LocalDB) or another SQL Server instance
The default connection string is defined in ParkingHQ/appsettings.json:
"ConnectionStrings": {
"DefaultConnection": "Server=.\\SQLEXPRESS;Database=ParkingHQ;Trusted_Connection=True;TrustServerCertificate=True;MultipleActiveResultSets=true"
}Adjust the Server value to match your local SQL Server instance if needed.
# Restore dependencies
dotnet restore
# Apply the database migrations (creates the ParkingHQ database)
dotnet ef database update --project ParkingHQ.DataAccess --startup-project ParkingHQ
# Run the web application
dotnet run --project ParkingHQThe application will be available at the URL shown in the console (e.g. https://localhost:5001).
See LICENSE.txt.





