Using Visual Studio & Azure?
Take a quick, 5 minute survey to help us make Visual Studio and its Azure-related experiences better.

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

Once the command completes, browse 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