asp.net core 3.1 web project console application code example Example: dotnet core create console project dotnet new console