This folder contains backend code of GameHub project.
Startup.cs
- configuration of services, database and their lifetimeMappingProfile.cs
- mapping of data structures used for easier conversion between parsed data and database entitiesGameHubContext.cs
- database configuration and lists for accessing database entitiesHubs\GameHub.cs
- communication with clientsEntities\
- database entitiesServices\
- business logicGameService.cs
- service for game scenario files importing and parsingGameSessionService\GameController.cs
- service for active games managing
Models\
- models for data parsing and transferingControllers\
- controllers for web interfaceViews\
- views for web interface
- Install Visual Studio Community 2017 or newer with the following workloads:
- ASP.NET and web development
- .NET Core cross-platform development
- Open solution and launch Packet Manager Console, run the following command:
Update-Database
- On first launch you will be asked to choose Windows Firewall settings. Choose the following:
- Allow access in home networks
- Allow access in public networks