411 REFERENCE · Wikibooks
C Sharp Programming/Asynchronous Programming
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
C# has built in Asynchronous Programming support from as early as .NET Framework 1.1. Asynchronous Programming generally refers to a method of concurrent programming that allows a unit of task to run separately, and calls back to the main thread when the task is completed or failed. This programming pattern can be used in operations including web service calls, database calls, or other CPU bound operations.
Asynchronous Programming Model (APM) pattern
The APM pattern is often referred to as the IAsyncResult pattern, where methods named BeginMethodName, and EndMethodName are used to perform asynchronous operations. However, since the introduction of the EAP and TAP pattern, the APM pattern is no longer recommended.
Event-based Asynchronous Pattern (EAP)
Task-based Asynchronous Pattern (TAP)