Bruno’s Tour of the Windows Azure Platform Training Kit–Web Roles, Worker Roles, Tables, Blobs, and Queues
Introduction |
My goal in this series is to highlight the best parts of the hands-on labs. I constantly give presentations to software developers about cloud computing, specifically about the Windows Azure Platform. As the founder of The San Francisco Bay Area Azure Developers Group (https://www.meetup.com/bayazure/), I am always asked for the best place to start. |
Luckily there is one easy answer - The Windows Azure Platform Training Kit. |
As of this writing, this is the latest version.
|
Hands-On Labs or Demos |
I will focus on Hands-On Labs, not the demos, atleast initially. But don't discount the value of the demos because they are easier and shorter. I will point out some of the useful demos as I progress through this post. |
Lab #1 - Introduction to Windows Azure |
This is perhaps the best of all the hands-on labs in the kit. But it certainly is not the easiest. |
Technical Value |
What Lab #1 illustrates |
Most of Azure’s core technologies are explained in this excellent lab.
|
Useful Code Snippets |
I was such a big fan of this lab, I completely rewrote it so that I could fully grasp it. It looks like this: I wanted to give the lab a little more polish. Working with Tables The Windows Azure Table service can be used to efficiently store millions of entities (rows in relational parlance). To be able to “talk” to your table objects you’ll need to inherit from TableServiceContext and provide the following boilerplate code.
** Note that the table object to which we’ll add entities (rows in relational parlance) is called GuestBookEntry. Caveat for the lab – Creating the table for the first time The lab does have some room for improvement. The application attempts to create the table every time it runs. Obviously this won’t work if the table already exists. To solve this problem, I recommend looking at Steve’s post here: |
For Beginners – The Demos |
A more gentle introduction to the platform is found here in “Demos.”
|