A .Net 5.0
WebApi project.
- Use this solution or clone/download to your local workplace.
- Download the latest .Net SDK and Visual Studio.
- Go to the ConnectionFour\ConnectionFour.Api folder, run
dotnet build
and thendotnet run
or in visual studio set the api project as startup and run as console (not IIS). - Visit http://localhost:5000/swagger/index.html or https://localhost:5001/swagger/index.html to access the application's swagger. (You can also use Postman)
- Swagger/OpenApi
- .Net Dependency Injection
- Unit tests
- Api
- This project stores the apis.
- Model
- This project contains enums and response models.
- Service
- It contains the business logic. It contains the rules and validations of the game.
- Tests
- Contains the unit tests of the tests provided in the vier-gewinnt folder
In the root folder, run dotnet test
. This command will try to find all test projects associated with the ConnectionFour Solution file.