Robust and scalable API built with ASP NET Core and Clean Architecture designed to manage stadium bookings scheduling and user reservations with secure access and background automation
Architecture and Design
Clean Architecture structured into Domain Application Infrastructure and API layers
Repository Pattern and Unit of Work for data abstraction
Result Pattern for consistent API responses
Domain Driven Design principles
Global Exception Handling using middleware
Audit Logging using Change Tracker
Fluent API configurations for entity mapping
Core Features and Business Logic
Full CRUD operations for stadiums sport types and time slots
Multi role booking system for admin owner and player
Real time availability checks for booking validation
Multi step booking confirmation workflow
Background job automation using Hangfire for booking status updates and reminders
Data and Security
Entity Framework Core with SQL Server
Automatic database migrations and optimized mapping using Mapster
Secure email system using MailKit with custom HTML templates
JWT authentication with role based access control
Technology Stack
NET 9
Entity Framework Core
SQL Server
Hangfire
JWT
ASP NET Identity
MailKit
FluentValidation
Mapster
Serilog