Sample using Tasks in C# using Microsoft .NET Core 2.0
This is a console application that demonstrates using Tasks in C# in Microsoft .NET Core 2.0. This project uses the API from https://github.com/jeremybytes/person-api-core (default location: http://localhost:9874/api/people).
To run the console application, use dotnet run
from the project folder.
The current behavior is to output "One Moment Please", pause 3 seconds,
then print out a list of names.
Press the Return
key to exit the console application.
How to use this project is described in the following articles:
- Initial Task Samples with .NET Core 2.0
- Building a WebAPI Service with .NET Core 2.0
- Consuming a WebAPI Service with .NET Core 2.0
- Using Task with .NET Core 2.0: Success, Error, Cancellation
More articles to come.