Ad Unit (Iklan) BIG

how to run asp.net core run application command prompt and also visual code

how to run dotnet core run application command prompt and also visual code
in this article, i will show you how to run asp.net core run application command prompt and also visual code

step: 1 open command prompt as run administrative


step: 2 must check dotnet --version in command line


type: dotnet --version


step: 3 you must require 2.0 or above version


step: 4 below line of code run on command prompt


(i)dotnet new mvc 

                    or 
               dotnet new mvc -n <projectname>

(ii)dotnet new webapi


(iii)dotnet new webapp


(iv)dotnet new console


(v)dotnet new angular

           (vi)dotnet new react


step: 5 run project in command prompt

type: dotnet run or
                 dotnet run --urls="http://localhost:26456" or
                 dotnet watch run --urls="http://localhost:36456"

note: you can use port between 1024 to 65535

Post a Comment

0 Comments