教你50招提高ASP.NET性能(二十二):利用.NET 4.5异步结构

(40)Take advantage of .NET 4.5 async constructsweb

招数40:数据库

利用.NET 4.5异步结构网络

With the arrival of .NET 4.5, writing async code correctly is easier than ever. Like any tool, it should be only applied where it makes most sense – in web use-cases this usually revolves around I/O operations (i.e. reading from disk, any network operation, database operations, or calls to web services).app

随着.NET 4.5的到来,正确地编写异步代码比以往更容易。与其余工具同样,它应该只运用在最有意义的地方 - 在网络用例上这一般围绕着I/O操做(即:从磁盘读取,一些网络操做,数据库操做,或调用Web服务)。异步

相关文章
相关标签/搜索