dotnet ne console 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>