Tag: AZURE
-
List valid Data Center Locations for a Subscription using Windows Azure Management API
Windows Azure Management API enables you to manage Azure subscription through codes. In this post, I will show, how could you list valid datacenter locations available for given subscription using Windows Azure Management API? Windows Azure Management API is REST based API and allows you to perform almost all management level tasks with Azure subscription.…
-
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…
-
Publish Azure Project using Windows Azure SDK 1.5 Publish Setting wizard
In this post, I will show you step by step walkthrough to publish a cloud project in Windows Azure Right click on the cloud project and select Publish Windows Azure publish setting wizard will be open. First you need to set the credentials. I assume here that you have not set any credential before so…
-
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…
-
Check Windows Azure Roles instance running in Emulator?
SDK : Windows Azure SDK 1.5 In Build Windows Azure SDK 1.5 got announced. Windows Azure SDK 1.5 allows us to check whether Roles are running in emulator or not? Static method IsEmulated returns Boolean value after checking whether Role instance is running in emulator or not. Signature of IsEmulated is as below and it…
-
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…