- .NET 8 SDK
- ASP .NET Core Runtime and Targeting Pack (usually bundled with the SDK)
- To check, you can execute
dotnet new list
. If you seeASP.NET Core
listed, you have it installed.
- To check, you can execute
To execute the API, run:
dotnet run
To execute the API with hot-reloading, run:
dotnet watch
To execute the unit tests, run:
dotnet test
To build for production, run:
dotnet publish -c Release -o "path/to/build/folder"