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

.NET Tutorial - Hello World Microservice

Run your service

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/WeatherForecast

The API endpoint returns JSON data containing weather forecast information

Congratulations, you've got a simple service running.