Upload File to Windows Azure Blob Storage using Windows Azure Mobile Services

This demonstrates how to store your files such as images, videos, docs or any binary data off device in the cloud using Windows Azure Blob Storage. In this example we focus on capturing and uploading images, with the same approach you can upload any binary data to Blob Storage.

C# (1.7 MB)
4.2 Star
5,459 times
Add to favorites
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question

  • doubts
    1 Posts | Last post July 11, 2014
    • I don´t show this option:
      for create tables. How you got it? 
      I followed this:
      and worked.
  • Does it work for windows phone 8 apps??
    1 Posts | Last post May 01, 2014
    • Does it work for windows phone 8 apps??
  • Error: Could not find MobileServicesManagedClient
    2 Posts | Last post January 06, 2014
    • I can't run the app because the compiler can't find MobileServicesManagedClient.  Why is it so difficult to get the libraries in Windows 8?  Most of the apps here can't run because Visual Studio can't find the referenced assemblies.
    • hi deskcheck,
      please try the latest version of the sample
      kind regards,
  • ImageUrl has undefined value in string / Blob storage return 403
    2 Posts | Last post January 06, 2014
    • All the fields in the Picture table look ok except for imageurl.
      the value for the imageurl field in the picture table =
      I can run the sample and I see that records are being inserted into my database, but upon calling the blob helper function I get a 403 error.
      But records get inserted into the table without errors.
      the error I get is in the 
       private async void UploadPicture(object sender, RoutedEventArgs e)
      An exception of type 'Microsoft.WindowsAzure.Storage.WrappedStorageException' occurred in mscorlib.dll but was not handled in user code
      Additional information: <?xml version="1.0" encoding="utf-16"?>
      <!--An exception has occurred. For more information please deserialize this message via RequestResult.TranslateFromExceptionMessage.-->
        <HttpStatusMessage>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.</HttpStatusMessage>
      Just wondering if anyone else is having this bug???
    • Hi Sike, please try the latest uploaded version of the sample
      kind regards,
  • Upload an image from the browser
    1 Posts | Last post April 26, 2013
    • You have an example of uploading an image to the blob storage using c# win 8 App. How can we use the same Mobile Service and Blob Storage through a Browser? Any sample code would be appreciated. Also are there any extra settings needed on the Azure side to accomplish this? 
  • migrate to WP8
    1 Posts | Last post April 26, 2013
    • Hi, is it possible to migrate this app into Windows Phone 8? as in implement this project into Windows Phone 8.. what are the changes needed? i need some advice thanks :)
      sorry for my bad english
  • Azure Media Services
    1 Posts | Last post January 28, 2013
    • Hi
      Could your example be modified to show similarly how to upload and retrieve from Azure Media Services?
  • how delete blob??
    1 Posts | Last post January 25, 2013
    • delete blob sample plz.
      very hard T.T
  • i have a question
    2 Posts | Last post January 17, 2013
    • AlbumDetailPage.xaml 27line
      d:DataContext="{Binding AllGroups[0], Source={d:DesignInstance Type=data:AlbumDataSource, IsDesignTimeCreatable=True}}">
      Does not exist MyPictures.Data 
      However, this app execution.
      What is problem???
    • oh! The problem is solved.
      MyPictures.Data  --> MyPictures.DataModel
  • Error
    1 Posts | Last post January 14, 2013
    • Hi, its giving me this error as I try to run it. "Error: The value specified for 'id' must be a number." do perhaps know what the problem is?