h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->

Pages

Asynchronous Programming with Async and Await

Asynchronous Programming with Async and Await


  • Asynchronous Programming is introduced in VS 2012.
  • It's support .NET FRAMEWORK 4.5 and Windows Runtime.
  • application retains a logical structure that resembles synchronous code.
  • Asynchronous is essential for activities that are potentially blocking, such as when your application accesses the web.
  • In an asynchronous process, the application can continue with other work that doesn't depend on the web resource until the potentially blocking task finishes.
  • The Async and Await keywords in Visual Basic 
  • By using those two keywords, you can use resources in the .NET Framework or the Windows Runtime to create an asynchronous method almost as easily as you create a synchronous method.
  • Asynchronous methods that you define by using async and await are referred to as async methods.
  • Async methods are intended to be non-blocking operations.
  • An await expression in an async method doesn't block the current thread while the awaited task is running.
  • Instead, the expression signs up the rest of the method as a continuation and returns control to the caller of the async method.


No comments:

Post a Comment