ASP.NET Core Web API for Swegon recruitment code test.
- .NET 9.0 SDK (download)
Download and install the .NET 9.0 SDK from the link above, then verify:
dotnet --versionClone the repository and restore dependencies:
git clone <repository-url>
dotnet restoreBuild and run from the command line:
dotnet build
cd Swegon.Recruitment.CodeTest.Backend.Api
dotnet runThe API will be available at https://localhost:5078
Open the solution in your preferred IDE and start debugging:
- Visual Studio: Open
Swegon.Recruitment.CodeTest.Backend.slnand press F5 - VS Code: Open the workspace and use Run and Debug (F5)
- Rider: Open the solution and click the Run button
The API will be available at https://localhost:5078
dotnet test- ASP.NET Core 9.0
- .NET 9.0
- Swagger/OpenAPI
- xUnit