Posts Tagged queue storage

New seminar on Azure Worker roles and queue storage

It’s Monday, and these days that means we posted another Web seminar! This is actually the last Web seminar I’ll be posting until after the PDC, and this one covers Windows Azure Worker roles and Windows Azure queue storage. Here’s the link to the session itself:

http://www.msdev.com/Directory/Description.aspx?eventId=1499

If you are interested in the sample code, there are actually two Visual Studio projects you’ll need… The first is a little WPF app that hosts a WCF service. This acts as the SMS “server”, and as the name (PsuedoSMS) suggests, there is no actual SMS involved… I just needed to be able to simulate a service I could invoke from the Worker role.

PsuedoSMS.zip

The second is the cloud service that contains the actual demonstration code from the session. This is a Visual Studio 2008 solution, but you should be able to easily convert it if you want to use it with Visual Studio 2010.

SmsCloudApp.zip

Cheers!

Oh, and I need to include some credits as far as the PsuedoSMS app – the embedded font is called Sveningsson and it was created by Derek Gomez. You can download it from dafont.com. The app also uses a great little library by Philipp Sumi called WPF NotifyIcon – it provides an easy way to use WPF for system tray popups.

Also, if you get an “HTTP could not register URL” error when you try to run the PsuedoSMS app, you can either run the app as administrator or you can create a reservation for the app… Start a command prompt with administrator privileges and then execute the following (with appropriate domain/username of course):

netsh http add urlacl url=http://+:9999/PsuedoSMS/SmsService/ user=DOMAIN\username

Thanks to Anirban Chakladar’s blog posting for helping me sort this out quickly…

,

No Comments