gerrystrat
asked on
Display Azure Blob in ASP.NET GridView
I have an existing Microsoft ASP.NET web forms application that I am migrating to Azure web sites. The application displays images in a gridview. In the current application, the file path for the gridview is stored in a SQL Server database and the images are stored on the same network as the web server.
The new application will utilize Azure web sites, SQL Azure and Azure storage. I already have the Azure web site running and connected to a SQL Azure database. The application can successfully upload blobs to my Azure storage container, but I am not sure how to bind them to the gridview.
The container must be private. The gridview uses a stored procedure to get the blob names to be displayed.
I have looked all over for an example on how to do this and I am beginning to think my approach is wrong. Can someone point me to a good example or suggest a better approach.
Thanks.
The new application will utilize Azure web sites, SQL Azure and Azure storage. I already have the Azure web site running and connected to a SQL Azure database. The application can successfully upload blobs to my Azure storage container, but I am not sure how to bind them to the gridview.
The container must be private. The gridview uses a stored procedure to get the blob names to be displayed.
I have looked all over for an example on how to do this and I am beginning to think my approach is wrong. Can someone point me to a good example or suggest a better approach.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
to the above information, i would add a 4th option: you may want to consider maintaining two separate containers, one for public contents (images for example) and one for private contents.
ASKER
Thanks, lenordiste. My customers are regulated electric utilities and all of their data, regardless of how sensitive it is, must be private.
I'm going to pursue the shared key access approach you suggested. Thanks, again.
I'm going to pursue the shared key access approach you suggested. Thanks, again.