Project Creation

Prerequisites

See Project Preparation - Backend API

Create a new ASP.NET Core project

Create the project using webapi template with controllers:

dotnet new webapi --use-controllers -o src/AccessControlAPI -n UtopikSancastle.AccessControle.API

Test the project

  1. In Visual Studio Code, with no file open, press F5.
  2. If the debug configuration did not generate automatically, select .Net5+ and .Net Core. Your browser should open. If the Swagger page is not display, go to /swagger/index.html. For example, https://localhost:7136/swagger/index.html