dotnet new -l List all the avaialble template
dotnet new angular -n MyAppName Create porject from angualr template with name MyAppName
dotnet build build dotnet application
dotnet run Run dotnet application
code command will open the VSCode editor
code . open current directory in VSCode
code filename open file in VSCode
Make sure VSCode is added to PATH
CTRL + SHIFT + X Open extension tab
Search below extensions and Install Them.
- C# By Microsoft
- C# Extension (Good to have )
- C# Snippets (Good to have)
Required assets to build and debug are missing from 'MyAppName'. Add them? , Press 'Yes'
This will create.vscodefolder with two fileslaunch.json & task.jsonfiles.
CTRL + SHIFT + D Open run window
F5 Debug
F10 Step Over
F11 Step In
SHIFT + F5 Stop debugger
- Open controller and add breakpoint. Run applciation, browser to the app so that breakpoint can hit.