Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

AZURE Cloud Storage

$
0
0

I am trying to connect to Azure Storage to upload an excel file and then read/load it into a radgrid.  I have set the necessary assemblies but receive an error.  This is what I have done up to this point....

I created the container in azure using the portal

I set both my  <connectionStrings>StorageConnectionString and  <appSettings>  key="StorageConnectionString" in my web config.

in source code I set the assemblies

using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Auth; 
using Microsoft.WindowsAzure.Storage.Blob;

But when I tried CloudStorageAccount storageAccount = CloudStorageAccount.Parse(CloudConfigurationManager.GetSetting("StorageConnectionString"));

I received the error:

you need to find CloudStorageAccount.cs 

Any ideas how to get this resolved?  thank you...


Viewing all articles
Browse latest Browse all 9386

Trending Articles