HttpClient sample

This sample is created during the tutorial that shows how to make HTTP requests in a console app. See that tutorial for detailed documentation on the code for this sample.

Key Features

This sample demonstrates making HTTP requests to a web server, using async and await, converting JSON objects into C# objects, and terminal output.

Build and Run

To build and run the sample, type the following command:

dotnet run

dotnet run builds the sample and runs the output assembly.