Archive for the ‘Cloud Computing’ category

Windows Azure ServiceBus Demo

May 18th, 2012

Recently I was put to task with doing some research on the Windows Azure ServiceBus for an upcoming project at my workplace and I was rather impressed with what I found. I have put a repo out on github for anybody that is interested. I began down the road of something like what is seen on this site: The problem with following those directions on the link I just sent is that it defaults to some custom port that is not 80 and that wouldn’t work in my situation due to the fact that our app would be out in the public and I didn’t want to burden my clients with having to open up that port on their firewalls, so I went with a REST-based implementation.

The demo has two wpf windows in which you will need to make a couple of changes to work with your azure account, I have a snippet below that shows the spots that need to be changed.

 static string serviceNamespace = "<YourNamespace>";
 static string baseAddress;
 static string token;
 const string issuer = "owner";
 const string key = "<YourKey>";
 const string sbHostName = "";
 const string acsHostName = "";

Here is the link to the GitHub repo:


Publishing apps to Windows Azure from Visual Studio 2010

April 5th, 2012

I have been tinkering around with Windows Azure using Visual Studio 2010 and I am finding that more and more of the articles you find on the internet are either outdated or just wrong. This is very well likely due to the fact that things have changed over the course of the last year or so with Windows Azure. Here is the steps I took to get my app actually published to Windows Azure, hope it helps.

I am not going to go into the creation of the app, just the publish part of it, there are tons of examples out there that go into details of how to create your app and there are several example apps you can download as well. You have to make sure you have a Windows Azure account of course to go through this tutorial I have here as well, again, pretty self-explanatory.


The first thing to do is open your project in Visual Studio 2010 and right click on your Azure Project and click on Publish:

The next step you will see a screen like this:

You will need to create a Certificate by dropping down the Credentials dropdown and then hitting “New”, that will bring up a screen like this:

You can make your certificate in this screen and then use the “Copy the full path” link there to get it copied to the clipboard and then you will also need to get your subscription ID from the Windows Azure portal, you can find that under “Hosted Services” under the right hand pane in the “Subscription ID” box.  When you get that created, you can click on ok and you are almost ready to publish your app to azure.

Before you click OK on the next screen, over in your Azure portal, you need to make sure to upload your certificate to Windows Azure so that your app will be authenticated with the server.  In the azure portal, locate the “Management Certificates” under “Hosted Services, Storage Accounts and CDN”, click on that and you will see something like this below.

Then just click on the “Add Certificate” button

and you will see a screen like this one:

Your subscription will have been chosen assuming you have already taken care of all of that before by signing up for azure, you then click on the Browse button and then paste in your directory, you will probably have to clear out the certificate key filename to allow you to open the directory to choose the file, then ok that and then ok this screen and you will have your app authorized for azure.

Finally you can go back to studio and click on your ok button to publish your app to azure, it does take a while and the progress of the publish will show up in the lower section of studio in the activity log.

Researching Windows Azure Apps

April 2nd, 2012

I am doing some research on writing applications on Windows Azure, or Microsoft’s new cloud based computing solution. I am finding that most of the “Tools and SDK links” they provide me were not the correct files that I needed to get my example projects to work correctly. Here is the link that I found that correctly gets the libraries installed that you need.

You have to install both the VSCloudService.exe and the appropriate WindowsAzureSDK for your environment.