dotnet create project code example
Example 1: dotnet create project command line
dotnet new console
Example 2: dotnet new emty webapp
dotnet new web -o <Web app name>
Example 3: dotnet new console
mkdir MyApp; cd MyApp;
dotnet new console
Example 4: dotnet new options
dotnet new <TEMPLATE> [--dry-run] [--force] [-i|--install {PATH|NUGET_ID}]
[-lang|--language {"C#"|"F#"|VB}] [-n|--name <OUTPUT_NAME>]
[--nuget-source <SOURCE>] [-o|--output <OUTPUT_DIRECTORY>]
[-u|--uninstall] [--update-apply] [--update-check] [Template options]
dotnet new <TEMPLATE> [-l|--list] [--type <TYPE>]
dotnet new -h|--help