MyPictures is a ASP.NET Web API sample application for exposing Pictures in Blob storage. It also has a simple web interface to consume the services.
The sample was built using ASP.NET MVC 4, ASP.NET Web API, jQuery and Windows Azure Storage for the underlying data store.
- Start the Windows Azure Storage Emulator.
- Open Visual Studio 2012.
- Compile the solution. The NuGet packages dependencies will be automatically downloaded and installed.
- Set the MyPictures.Web as startup project and press F5.
- To run this sample on the cloud you need a Windows Azure Subscription. If you don't have a Windows Azure account, you can sign up for a free trial here.
- This sample requires a storage account for storing pictures and tags. When running the sample on the cloud you need to make the sample work against a cloud storage account.
- Open Web.config from the MyPictures.Web project. Replace the placeholder in the (WAZStorageAccount) appSetting value for the storage account with the values obtained previously from Windows Azure's portal.
A set of detailed instructions on how to set up the sample can be accessed on the sample's GitHub.com repository page.
This sample is also provided via the MSDN Windows Azure Samples Site. You can download the code for the sample from MSDN here.