ASP.NET Tutorial - Hello World in 10 minutes

Run your app

In your command prompt, run the following command:

In your terminal, run the following command:

Command prompt
dotnet run

Wait for the app to display that it's listening on http://localhost:5000, and then open a new browser window and navigate to http://localhost:5000

The home page of your site contains some placeholder content about ASP.NET.

Congratulations, you've built and run your first .NET web app!

Continue