how to create .net core web api using .net cli code example Example: dotnet create project command line dotnet new console