ASP.NET Core 8.0 Web API backend for the SPlace application that I did for my Bachelor's thesis.
- JWT Authentication
- Azure AD Integration
- Entity Framework Core with SQL Server
- SignalR for real-time communication
- RESTful API for quiz management, groups, and user management
- .NET 8 SDK
- SQL Server (Azure SQL or local)
- Azure AD tenant (optional, for Azure AD authentication)
-
Copy the example configuration:
cp appsettings.Development.json.example appsettings.json
-
Update
appsettings.jsonwith your credentials:- Database connection string
- JWT secret key
- Azure AD configuration (if using)
See CONFIGURATION.md for detailed setup instructions.
dotnet restore
dotnet build
dotnet runThe API will be available at https://localhost:5001 (or the port specified in launchSettings.json).
Core/- Domain entities and enumsApplication/- Business logic, services, DTOs, and interfacesInfrastructure/- Data access, authentication, and external servicesWeb/Controllers/- API controllersMigrations/- Entity Framework migrations
This project uses:
- JWT tokens for authentication
- BCrypt for password hashing
- Azure AD for enterprise authentication
- User secrets for local development (recommended)
For production, use:
- Azure Key Vault for secrets
- Azure App Service configuration for connection strings
- Managed identities where possible
Swagger UI is available in development mode at /swagger.