Asynchronous Programming with async and await (C#)用async和await实现异步编程

You can avoid performance bottlenecks and enhance the overall responsiveness of your application by using asynchronous programming. However, traditional techniques for writing asynchronous applications can be complicated, making them difficult to write, debug, and maintain.

你可以用个使用异步编程来避免表现瓶颈跟提供整体的能力,然而传统的技术来写异步应用非常负责,很难写,调试,维护。

Visual Studio 2012 introduced a simplified approach, async programming, that leverages asynchronous support in the .NET Framework 4.5 and higher as well as in the Windows Runtime. The compiler does the difficult work that the developer used to do, and your application retains a logical structure that resembles synchronous code. As a result, you get all the advantages of asynchronous programming with a fraction of the effort.

vs2012 提供了一个简单的异步编程方法,利用.NEt4.5以及以上的版本支持的异步,编译器完成了开发者的复杂工作,你的应用保持同步的架构即可,然后你将花费少的经历来获得异步的优势

This topic provides an overview of when and how to use async programming and includes links to support topics that contain details and examples.

这个文章提供了一个整体的介绍关于什么时候以及怎么使用异步编程。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值