imageSteve Marx, Microsoft Technical Strategist for Windows Azure, has put together a set of source code and example that shows how you can add support the new storage analytics API.

It uses smarx.WazStorageExtensions, a collection of useful extension methods for Windows Azure storage operations that aren't covered by the .NET client library.

The examples in his post show how with a few lines of code you can:

  • enable metrics with a 7-day retention policy
  • try to lease a blob and write "Hello, World!" to it
  • check the existence of a blob

See Analytics, Leasing, and More: Extensions to the .NET Windows Azure Storage Library.

 

Bruce D. Kyle
ISV Architect Evangelist | Microsoft Corporation

image