I’m trying to query an azure Blob Storage container from Silverlight.
I saw that the Windows.Azure.Storage.dll is not working with Silverlight so I presume the best way to communicate with my storage container is with REST Services. I saw the Azure Storage REST API, but I can’t find an easy way to :
- List all blobs in a container
- Retrieve a blob from a container
- Add a new blob in a container
Anyone have a clear example on how to do that (for a complete REST dummy)?
By the way, It has to be a private container.
Thanks
Since you don’t have access to the
Microsoft.WindowsAzure.Storageassembly, you’ll need to call the REST services directly.The API is defined here:
http://msdn.microsoft.com/en-us/library/windowsazure/dd135733.aspx
This CodePlex project has some nice code samples that should help you get off the ground with the REST calls:
http://azurestoragesamples.codeplex.com/