• Run command: dotnet new mvc --name myaspnetapp
• Command prompt can be opened from VS itself : Tools and Developer Command Prompt
Build the app:
• Run command: myapp/dotnet build
Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
All projects are up-to-date for restore.
myapp -> N:\ASP.net\myapp\bin\Debug\net6.0\myapp.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:44.94
Run the app :
• Run command: myapp/dotnet run
Building...
info: Microsoft.Hosting.Lifetime[14]
Now listening on: https://localhost:7104
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5082
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: N:\ASP.net\myaspnetapp\