异步CTP和Windows Azure支持 [英] Async CTP and Windows Azure Support
问题描述
快速的问题,找不到通过谷歌一个答案......
Quick question, couldn't find a answer via google...
是否在Windows Azure平台支持异步CTP?
它是复制引用的问题?
推荐答案
您可以安装异步CTP,然后创建一个Azure项目引用它。在异步CTP库是在我的文档 - 微软的Visual Studio异步CTP - 样品
You can install the Async CTP and then create an Azure project that references it. The Async CTP libraries are under My Documents - Microsoft Visual Studio Async CTP - Samples.
只需使用网络或辅助角色的常规AsyncCtpLibrary.dll。我相信它会在默认情况下被复制到您的bin文件夹。
Just use the regular AsyncCtpLibrary.dll for web or worker roles. I believe it'll be copied by default into your bin folder.
的异步/ AWAIT模式可以使用,因为它是唯一一个编译器变换。没有为异步方法没有特殊的CLR支持。具有异步方法异步CTP方案就经常.NET 4.0运行时上运行。
The async/await pattern can be used because it is only a compiler transformation. There is no special CLR support for async methods. Async CTP programs that have async methods run on the regular .NET 4.0 runtime.
这篇关于异步CTP和Windows Azure支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!