Database Reference
In-Depth Information
Figure 11.20
Content stored in Table storage.
6. To view the content in the iles stored in the Table storage, expand the Server
Explorer node on the left-hand side of your screen. hen, expand the Windows
Azure Storage node, and the Tables node. You should be able to see the Table stor-
age StudentClubEntry . To view the data stored in the Table storage, double click
StudentClubEntry and you should be able to see the data shown in Figure 11.20.
11.5 Use of Queue Storage
he Windows Azure Queue storage is used to temporarily store messages that will be passed from
one Windows Azure component to another component, for example, from a Windows Azure Web
role to a Windows Azure Worker role. A Queue storage account can hold as much as 100 TB
data in the Queue storage. he size of a single message can be up to 64 kB. Like the Blob storage,
the Queue storage also has three components: storage account, queues, and messages stored in a
queue. A message stored in a queue can be accessed through a URL assigned to the message.
When the storage account was created in the previous activity for the Windows Azure storage
emulator, the Queue storage was also created. In the previous activity, you also initiated the object
of the CloudStorageAccount type with a connection string to your Windows Azure account.
To get a reference object for a queue, you need to initiate a CloudBlobClient object with the
following code:
CloudQueueClient queueClient = storageAccount.CreateCloudQueueClient();
With the queueClient object, you can get the reference to a queue and create the queue with
the following code if it does not exist:
Search WWH ::




Custom Search