locked
Want to access Azure storage RRS feed

  • Question

  • I want to access Azure storage (Blob, table, queue) using REST API. I am referring following links -

    https://msdn.microsoft.com/en-us/library/hh225339.aspx

    https://msdn.microsoft.com/en-us/library/dn140256.aspx

    But I am not able to figure out where I should add configurations e.g. 

    signedstart=2009-02-09
    signedexpiry=2009-02-10
    signedresource=c
    signedpermissions=r
    signature=dD80ihBh5jfNpymO5Hg1IdiJIEvHcJpCMiCMnN/RnbI=
    signedidentifier=YWJjZGVmZw==
    signedversion=2012-02-12

    OR

    //Account name and key. Modify for your account.string accountName = "myaccount"; string accountKey = "nYS0gln9fA7bvY+rwu2iWADyzSNITGkhM88J8HUoyofpK7C8fHcZc2kIZp6cKgYJUM74rHI82L50Iau4+9hPjQ=="; //Get a reference to the storage account, with authentication credentials. CloudStorageAccount storageAccount = new CloudStorageAccount(new StorageCredentials(accountName, accountKey), true); //Create a new client object. CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient(); // Retrieve a reference to a container. CloudBlobContainer container = blobClient.GetContainerReference("mycontainer"); // Create the container if it does not already exist. container.CreateIfNotExists(); // Output container URI to debug window. Console.WriteLine(container.Uri);

    Could someone please help me.

    Thanks

    Satish

    Monday, January 26, 2015 12:56 PM

Answers

  • Hi,

    If you want to use Azure Storage rest API to do something, you could download sample code below to get started.

    # https://code.msdn.microsoft.com/windowsazure/CSAzureStorageRESTAPI-2b9055fb/

    Hope this could give you some help, if you still encounter some issues later, I would suggest you to create a new thread in our forum.

    Thanks for your posting.

    Best Regards,

    Jambor 


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.



    Monday, February 2, 2015 8:58 AM

All replies