Posts

Showing posts with the label azure-storage

Displaying an Image from Azure Storage before downloading - C#

Image
Displaying an Image from Azure Storage before downloading - C# I'm writing a program that will allow the user to download selected images from Azure Blob Storage. I have it working, however, currently, the images are downloaded to a file and then this file path is used to display the images. I want the images to be displayed and then allow the user to select which images can be downloaded. Below is my code for downloading the images. for (int i = 1; i<=dira.ListBlobs().Count(); i++) { try { CloudBlob blob = dira.GetBlobReference(i + ".png"); blob.DownloadToFile(localFilePath + "/" + i.ToString() + ".png", FileMode.Create); // MessageBox.Show(i.ToString()); } catch (StorageException ex) { } } Then my code for displaying the downloaded image is here: pictureBox1.BackgroundImage= Image.FromFile(filePath + ".png"); How would I display the images before they have been downloaded? ...

What are the benefits of Azure Static Website Hosting over Azure CDN

What are the benefits of Azure Static Website Hosting over Azure CDN Just read this article about Static website hosting in Azure Storage : For the moment, I use to deploy my static content to Azure CDN. So far here are the difference that I've found: I am wondering what could be a good candidate for Static website hosting in Azure Storage: Content for local application that does not need to scale globally ? By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Java standalone application want to connect with azure [closed]

Java standalone application want to connect with azure [closed] I have created a java standalone application for windows and used SQLite as database and now I want to connect this application with Azure so that database can be saved on cloud Can anyone helps me how to do this ?? Let's make it simple I want to connect java standalone application with azure how to do this.. Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.