/Async101

Primary LanguageVisual Basic .NET

Async 101

This project is an intro program to show using async/await. It is time you stopped using BackgroundWorker.

It shows:

  • Not using Thread.Sleep
  • Use of IProgress
  • ConncurentQueue to accept entries from the tasks
  • Databinding to a BindingList so all you have to do is modify the list
  • and of course async/await use

How to use

  • Click in async button a few times. Drag window. Notice responsive.
  • Repeat above but while waiting for waits to end click in gui button.
  • Click generate files button a few times any time in between in async or in gui.
  • Wait till log finishes updating. CLose program. Examine the log that shows.