run a dot.net application with command asp.net core code example Example: dotnet core create console project dotnet new console