dotnet core create web app code example
Example 1: run dotnet core app
# run the application and update automatically after changes
dotnet watch run
Example 2: dotnet core webapp
dotnet new webApp -o myWebApp --no-https
cd myWebApp
dotnet run
#Open Pages/Index.cshtml in any text editor and replace all of the code with the following,
#then save the file.