The MyPictures Sample
Up next in the new set of samples being produced by the Windows Azure Evangelism Team is the MyPictures sample. This sample uses Web API jQuery to post images to a Web API site running in Windows Azure Web Sites, where the images files are stored in Windows Azure Blob Storage and their metadata is stored in Windows Azure Table Storage.
If you’re tinkering with Web API and wondering how to use it to do uploads, or if you’ve been looking into how to use Windows Azure Storage and need a good example of how to implement it, this sample is definitely for you. In 15 minutes, you’ll be saving your images to the cloud for retrieval later, all using an HTML 5/jQuery interface that performs the upload and retrieval instantaneously.
As with all the other samples we’ll produce, the MyPictures sample lives in its very own GitHub.com repository, so if you experience any issues or have suggestions you can give us feedback on the sample using GitHub.com’s issue-reporting features. Likewise, the sample is being made available on the Windows Azure samples site. The video below is also posted on Channel 9, and will walk you through the whole process of setting up the site and deploying it to Windows Azure Web Sites. Get your free Windows Azure account to get started, then grab the code and deploy it using Web Deploy.
2 Comments
MCKLMT said
The two services are not in the same Datacenter. The website is in East US while the storage is in West US. :)
Nice sample however.
Anders Munk said
I have looked to the sample app because I am doing something similar with file upload using a MultipartMemoryStreamProvider.
Apparently a lot has changed in the RTM release of the Web Api.
There are a lot of samples for Beta/RC out there but I have not managed to find something useful based on RTM.
Do you have any knowledge of working samples using MultipartMemoryStreamProvider?
Thanks.
Rgds Anders