Friday, July 26, 2013

Await no more, Amazon Web Services .Net SDK v2 preview out - WinStore, WinPhone and async/await

Amazon Web Services Blog - AWS SDK Support for Windows Phone and Windows Store Applications

Over the last few months, we have released a number of enhancements to help customers and partners build their Microsoft Windows centric workloads on AWS.  Just last week, we announced guidance for running Exchange Server in the AWS Cloud which builds on our guidance for SQL Server and SharePoint.  When it comes to .NET developers, we have provided tools such as our AWS Toolkit for Visual Studio and the AWS SDK for .NET.  In fact, we recently started a .NET Development blog so Windows developers can get tips and tricks on how to best program .NET applications using AWS. 

Our Microsoft tooling doesn't stop there.  If PowerShell is what you use to automate Windows, we have the AWS Tools for Windows PowerShell.  We recently enhanced our PowerShell tools with automatic paging for large result sets and improved support for piping the output of a one cmdlet to another cmdlet.

Today, I’m happy to announce the Developer Preview of the next version of our AWS SDK for .NET.  This release of the SDK adds two major enhancements for .NET developers.

The first is support for the Microsoft Windows Store and Windows Phone applications.  With the new SDK, you can connect your Windows Phone or Windows Store apps to AWS services and you can build a cross-targeted application that's backed by AWS.  With this release, we add Windows Phone support to our growing SDK support for different mobile operating systems including our SDK for iOS and SDK for Android

The other big enhancement is our support for the task-based asynchronous pattern.  This pattern uses the async and await keywords and makes programming asynchronous operations against AWS easy.  For example, you can now upload files to S3 asynchronously like this:

...

.NET Development - AWS SDK for .NET Version 2.0 Preview

Today, we are excited to announce a preview of our upcoming version 2 of the AWS SDK for .NET, which you can download here.

One of the most exciting new features of version 2 is the ability to have Windows Store and Windows Phone 8 Apps use our SDK. Like other SDKs for these new platforms, all method calls that make requests to AWS are asynchronous methods.

Another big improvement we made to the SDK for asynchronous programming is that when you target Windows Store, Windows Phone 8, or .NET 4.5 the SDK uses the new Task-based pattern for asynchronous programming instead of the old style using pairs of Begin and End methods. Version 2 of the SDK also consists of a version compiled for .NET 3.5 Framework that contains the Begin and End methods for applications that aren't yet ready to move to .NET 4.5.

For a deeper dive into the differences in version 2, check out our migration guide.

...

Good to see Amazon provide this kind of support. It sure will help make building AWS WinStore/WinPhone app's much easier!

No comments: