Asynchronous Programming, Timers, and Threads

Everyone
  • 9 videos | 36m 35s
  • Includes Assessment
  • Earns a Badge
Rating 4.0 of 4 users Rating 4.0 of 4 users (4)
There are various ways that asynchrony can be added to your application. In this course, you'll discover how multi-threading can be added to an application by recognizing the various APIs used in asynchronous programming, performing periodic operations with timers, and adding background threads to UI applications. You'll begin by learning the purpose of the .NET thread pool, how to convert a while loop to use timers, and what happens if a timer fires faster than a callback completes its work. Then you'll explore how to use the BackgroundWorker component to maintain responsiveness, how BackgroundWorker works, and how to use BackgroundWorker in code. Finally, you'll discover how to cancel BackgroundWorkers and how to report the progress of BackgroundWorkers. This course was originally created by Global Knowledge (GK).

WHAT YOU WILL LEARN

  • Discover the key concepts in this course
    Describe the purpose of the .net thread pool
    Discuss how to convert a while loop to use a timer
    Describe what happens if a timer fires faster than a callback completes its work
    Discuss how to how to use the backgroundworker component to maintain responsiveness in a desktop application
  • Describe how backgroundworker works
    Discuss how to use backgroundworker in code
    Describe how to cancel a backgroundworker
    Discuss how to report the progress of a backgroundworker

IN THIS COURSE

  • 1m 43s
  • 2m 18s
  • Locked
    3.  Using a Timer Instead of While
    4m 19s
  • Locked
    4.  Re-Entrance
    4m 55s
  • Locked
    5.  Maintaining Application Responsiveness
    2m 15s
  • Locked
    6.  Understanding BackgroundWorker
    2m 51s
  • Locked
    7.  Running Code on a Worker Thread
    5m 40s
  • Locked
    8.  Cancelling a BackgroundWorker
    6m 45s
  • Locked
    9.  Reporting the Progress of a BackgroundWorker
    5m 50s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.7 of 38 users Rating 4.7 of 38 users (38)
Rating 4.3 of 60 users Rating 4.3 of 60 users (60)
Rating 4.2 of 131 users Rating 4.2 of 131 users (131)