.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.

Continue