Category Archives: Cloud

Upload & Download File to Azure Blob Storage Asynchronously and Cancel Async With VB .Net

Asynchronous technique becomes important when dealing with cloud resources or accessing object in long distance network route.
Latency could blocking the application UI for sometimes if there are any big resources processed synchronously.

Microsoft Windows Azure Storage is one of best options to store Blob, File, Queue, Document Table and also SQL databases.
Other well known and could considered as best cloud storage options are Amazon S3, Google but this post will be focused on Azure since the source code is built for Azure storage.

The source code in this post is available for download at below url:
WinCloudAsyncAwait SourceCode

The demonstration application is a Visual Basic .Net WinForm. This app upload and download image file from/to Azure Blob storage asynchronously.
It also has Cancel to Async thread and List of uploaded files. Below is the Form’s design

Continue reading

Upload file to Azure Cloud Storage Via Asp.Net Web App



Micrososft WindowsAzure is a rock solid Cloud platform that enables you automatically scales in/out your web application.
Not only scaling capabilites but also storing your files whether they are big or small in Azure Cloud Storage makes your mind free from conserning your own reliable storage on premise.
I give you basic example how to upload a file to Azure Cloud Storage via Web App using Asp.Net C#. Also to provide a link for user to download that uploaded file.

Create Storage Account or Use Local Development Storage

If you are still under development and run the web app under local PC/Laptop then you can use Development Storage.
Install necessary Azure SDK using Visual Studio 2013 or 2015 or Microsoft Web Platform Installer. After the installation done you should have Compute Emulator and Storage Emulator.
The storage emulator must be started properly before hand in order to run your Storage application in your local environment.

To access your storage you must supply Storage Connection String. Since we are using local environment then the Storage Connection String is UseDevelopmentStorage=true.
Please pay attention of it is a case sensitive.

After you finish your development and want to publish it on the cloud then you must register for Storage Account withing Azure portal and change your Storage Connection String properly in your code or configuration file.
Continue reading

Core Benefits Using Public Cloud Service Rather Than On Premise

We already introduced to Cloud Technology that leverage Virtualization to minimize physical Servers cost.
Technically, there are some schemes in Cloud which are Public Cloud, Private and Hybrid. Private Cloud has its own Data center, virtualization & infrastructure on premise whereas Public cloud are over the Internet.
On the other hand, Hybrid Cloud is in between your on premise and public cloud. Hybrid used to integrate existing On premise With public cloud features.
This blog focus on Public cloud pros and cons.

Public cloud itself devided into three categories which are Infrastructure as a Service (IaaS), Platform as a Service (Paas) and Software as a Service (SaaS).
Example of IaaS are Virtual Machine as a Server, Virtual Network, Cloud Storage etc. PaaS are Scalable Web App Hosting, Database as a Service etc.
SaaS are GMail, GDrive, Office 365, One Drive, Amazon Document Sharing, Drop box etc.
There are three major companies provide Public Cloud services: Microsoft Azure, Amazon Web Service and Google Cloud.
Below are pros and cons using Public cloud for your organization.


  1. Up time guarantee. Your application, data, servers, virtual networks are inside Data Centers and its Infrastructure provided by those great companies.
    Your account include SLA that guaranteed the system will be online 24/7 for a whole year. Ensuring reliability and availability is important and the most important thing is to make us having Peace of Mind
  2. Your Application and Servers are Available over the Internet with secure access Control.
    You can access your system anywhere but if you want to limit by specific IP range surely you can.
  3. Continue reading

Introduction to Cloud Storage using Google Drive

Google Drive Intro

Google Drive is a Google Cloud Platform which can store folders & files in the internet.
Google Drive has its own UI on so that users can manage their files on the internet i.e upload, download, share, setup access permission, work with files etc.
As default google drive is free with 15 gb storage size quota per google account. if you want more then you have to pay for google drive for work.
There are others cloud drive platform similar to google drive like dropbox but google have many more platform besides drive such as gmail, google+, cloud storage, cloud database etc.
So that work with google drive can interactively connect from many google products.

There is a platform called ‘google cloud storage’. Both of them are storage on the cloud but the difference between google drive and google cloud storage is user can manage and work interactive with folders & files directly from google drive UI whereas google cloud storage mainly for storing files needed by an application such as game files, backup files, etc.

Google Drive as File Server

Google Drive can be alternative as your file server in cloud. Migrating on premise file server to Google Drive is a good option since you take advantage of Google’s own reliable and fast networking infrastructure.
Continue reading