Bernie Cook's Blog

Azure, C#, .NET, Architecture & Related Tech News

Async in Windows Azure

Leave a comment

At the time of writing (November 2012) Windows Azure C# development is only available with the .NET 3.5 and 4.0 Frameworks. So what happens when you want to implement some asynchronous server-based programming using the .NET 5.0 Async language features?

Microsoft’s answer is to install the Async Targeting Pack for Visual Studio 2012. The only prerequisite is that you’re developing with Visual Studio 2012.

You can also install the package via NuGet using the following command in the Package Manager Console:

    PM> Install-Package Microsoft.CompilerServices.AsyncTargetingPack

Once installed the following assembly will be referenced in your web role:

    Microsoft.CompilerServices.AsyncTargetingPack.Net4

If you’d like to know more visit the …

Good luck.

Advertisements

Author: Bernie

I currently live and work in the UK, just outside of London. I've been working in IT for 15+ years and in that time have solved many technical problems via blogs, forums, tutorials etc. and feel like I should be giving something back. This blog post is my way of contributing and I hope it proves just as useful to others as their contributions have to me.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s