locked
Connect Mobile Service to existing Storage Account RRS feed

  • Question

  • Hi,

    I have an Azure SQL Database containing my application data.  I have a mobile service connecting to this SQL database that is used in my applications to access this data.

    I have now added a storage account that I will use to store images in the form of blobs.  I want a mobile service that connects to the storage account.

    The images will relate to the data in the SQL database. 

    I'm not sure how to go about this.  Can I configure the existing mobile service to connect to the storage account for blob data only?  Or must I create a new mobile service that connects to the storage account?

    If a new mobile service is required, I'm uncertain as to how you connect it to the storage account.  When you create a new mobile service, you have to specify a SQL database.  How do I tell the mobile service to connect to the storage account?

    Thanks

    Michelle

    Thursday, September 18, 2014 12:20 PM

Answers

  • Hi Michelle,

    If you need to know how to use Azure Mobile Services to upload and store images in Azure Storage, you could refer the following link.

    http://azure.microsoft.com/en-us/documentation/articles/mobile-services-dotnet-backend-windows-phone-upload-data-blob-storage/

    Also if your scenario is to create a Windows Phone application that can save user profile information in Azure SQL Database and pictures in Blob Storage, you could refer the following link.

    http://www.developer.com/ws/using-windows-azure-blob-storage-to-store-windows-phone-app-data.html

    Regards,
    Malar.

    Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    • Marked as answer by Michelle McCabe Saturday, September 20, 2014 11:25 AM
    Thursday, September 18, 2014 2:33 PM

All replies

  • Hi Michelle,

    If you need to know how to use Azure Mobile Services to upload and store images in Azure Storage, you could refer the following link.

    http://azure.microsoft.com/en-us/documentation/articles/mobile-services-dotnet-backend-windows-phone-upload-data-blob-storage/

    Also if your scenario is to create a Windows Phone application that can save user profile information in Azure SQL Database and pictures in Blob Storage, you could refer the following link.

    http://www.developer.com/ws/using-windows-azure-blob-storage-to-store-windows-phone-app-data.html

    Regards,
    Malar.

    Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    • Marked as answer by Michelle McCabe Saturday, September 20, 2014 11:25 AM
    Thursday, September 18, 2014 2:33 PM
  • Hi Malar,

    Thank you for your reply.  This is a great solution!

    I will try it and let you know what the outcome is!

    Michelle

    Saturday, September 20, 2014 11:25 AM