Microsoft officially released the asynchronous programming that Microsoft. BCL. asyncasync and await applied on the Web in those years. [series]

Source: Internet
Author: User

Microsoft released the final version of Microsoft. BCL. async. For more information, see the blog Microsoft. BCL. async is now stable. This package allows developers to use the asynchronous features of C #5 and VB in. Net 4, Silverlight 4, and Windows Phone 7.5. The package consists of three libraries: Microsoft. BCl, Microsoft. BCL. async, and Microsoft. BCL. build. Because the unified assembly method is used, all the projects in the solution must reference these three libraries.

C # Since its development, it has been from the first version 1.0 to version 5.0. let's review what each version has brought:

  1. Version 1.0-basic C # syntax.
  2. Version 2.0-generic support. CLR is upgraded to fundamentally support runtime generics.
  3. Version 3.0-LINQ, addedfrom/joinAdded extended functions and dynamic Var keywords during compilation.
  4. Version 4.0-Keyword dynamic, CLR upgrade, add DLR, and start dynamic friendly support. Dynamic Parameters, parameter default values, generic covariant, and other features are added.
  5. Version 5.0-async/await keywords make Asynchronization easier.

Async/await unifies asynchronous programming models into synchronous models, simplifying development complexity and improving production efficiency. Microsoft officially released the final version of Microsoft. BCL. async, which allows async/await to be used in. net4 without changing the project to. Net 4.5.

For more information about the practice and principles, see [C #5.0 vnext-New Asynchronous Pattern]. However, the switchto method in this article has been removed, and the reason is dangerous. For more information, see stackoverflow. Why was "switchto" removed from async CTP/release?

Related Articles:

Best practices for C # async/await

Application of async and await on the Web

Asynchronous programming [series] that we are pursuing together in those years

Http://www.codeproject.com/Articles/518856/Task-Parallel-Library-and-async-await-Functionalit

Http://weblogs.asp.net/dixin/archive/2012/11/02/understanding-c-async-await-1-compilation.aspx

Http://weblogs.asp.net/dixin/archive/2012/11/08/understanding-c-async-await-2-awaitable-awaiter-pattern.aspx

Http://blog.zhaojie.me/2012/04/exception-handling-in-csharp-async-await-1.html

Http://blog.zhaojie.me/2012/04/exception-handling-in-csharp-async-await-2.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.