-
First go to the directory where your project is going to be held
cd directory-of-your-project
-
Create your project
dotnet new <API Type> --name or -n <Name of Your Project>
:dotnet new console -n HelloWorld
-
Check the structure of your project
DOTNET-API-EXAMPLE │ └───HelloWorld │ HelloWorld.csproj # What is in our project │ Program.cs # The actual code of our project │ ├───bin └───obj
-
Run your project
dotnet run # dotnet watch run > Runs when there's a change on the code # > Hello, World!
-
Check the app at the HelloWorld directory