Tag: Azure Storage
-
How to create a Container in Azure Storage from MVC application
I am working on a MVC application in which I need to work with Microsoft Azure storage .I had a requirement to create An Azure storage container from the MVC application. In this post I will share my learning that how I created a container programmatically. I created the view as shown in below image.…
-
Windows Azure Storage Client Library for Windows Phone: Part 1
Windows Azure Storage Client Library allows you to perform operations on Windows Azure storage from Windows Phone. Using Windows Azure Storage Client, you can Perform operations on Table Perform operations on Queue Perform Operations on BLOB If you are not using Windows Azure Storage Client Library then to work with Windows Azure Storage you may…
-
Conditional Reading of Windows Azure BLOB
Conditional reading of BLOB implies, you want to read BLOB only when BLOB is modified. There are scenarios when you need to read BLOB frequently. In that case to avoid network usage and bandwidth, you may consider reading BLOB only when BLOB has been modified since last read or download. This type of BLOB reading…
-
Inserting Null Value for Integer columns in Windows Azure Table
I recommend to read below post before you start reading this post Creating Azure Table using CloudTableClient.CreateTableIfNotExist There may be requirement when you need to insert null values for values type columns in Azure table. In our recent project, we had a requirement to insert null values for integer columns. Usually if you don’t provide…
-
Creating Azure Table using CloudTableClient.CreateTableIfNotExist
I discussed Three simple steps to create Azure table in my last post. Just after submitting the post, I got a comment from Neil Mackenzie that I can avoid creation of context class [Step 2] in last post. He helped me with the link for the best practice on MSDN This post is to accommodate…
-
Three simple steps to create Azure table
Please read post at below link for recommended way to create table, https://debugmode.net/2011/10/12/creating-azure-table-using-cloudtableclient-createtableifnotexist/ In this post I will show you three simple steps to create Azure Table. Let us say you want to create Azure table called Employee with following columns EmployeeID EmployeeName EmployeeSalary Step 1: Create Entity class First step is to create entity…
-
Adding message in a Windows Azure Queue
In this post I will show you code snippet to add message in azure queue. I have written a function returning Boolean value and taking string input parameter to add as message in queue. Create instance of cloud storage account Create a client of azure queue Get the reference of particular queue. Create queue if…
-
Upload Image from Silverlight to Azure BLOB using WCF
Working with Azure Blob is very common task you must be doing. Sometime you may come with requirement to upload an image from Silverlight client to Azure BLOB. In this post I am trying to help you in achieving this. In this post I will show you below three stuffs. Uploading Image to Azure BOLB…
-
CRUD operation on Windows Azure table storage as WCF Service
You may have come across requirement of performing CRUD operation on Windows Azure table storage many times. If you have encapsulated functions performing CRUD operation on Azure Table Storage as operation contract of WCF Service then any type of client can work against azure table storage. You may always want to architecture your application as…
-
Uploading Stream in AZURE BLOB
In this post I will show you to upload stream to Azure BLOB. Set the Connection String as below, Function is as below, You need to set required content type. If you are uploading image then content type would be like below, To use this function you need to pass , Public…