Archive for October, 2011

Materiales del CodeCamp BA 2011 – Datos en la nube (Azure) y Business Intelligence (PowerPivot)

October 21, 2011 adglopez and LeandroDG No comments

Hola a todos, les dejamos disponible los materiales de las charlas del codecamp que estuvimos dando Leandro y yo (Adrian)

- Haciendo BI rápido y flexible
- Datos en la nube: colas, caché, topics y otras yerbas

Descarga de los materiales:
- Haciendo BI rápido y flexible (179)
- Datos en la nube: colas, caché, topics y otras yerbas (304)

VN:F [1.9.11_1134]
Rating: 5.0/5 (2 votes cast)

Using Azure AppFabric Labs without servicebus.config

October 13, 2011 LeandroDG No comments

Azure has been offering a preview of possible future features for a long time now. SQL Azure has SQLAzureLabs (, and AppFabric has AppFabricLabs (

You download the latest SDK CTP for AppFabric Labs, you create an AppFabric Labs account at their portal and you can work with it inmediately… well… almost!

There’s an issue regarding the service URL, you don’t need to assign the AppFabric Services URL for it to work with production Azure AppFabric, but to work with Labs you are forced to specify it. Some information about it is available here:

It requires modifying (or creating a new one) ServiceBus.config file and drop it into your .NET Framework config directory. The problem with this approach is that it forces you to use labs in ALL your Azure AppFabric applications. And you may want to use both Labs and Production Azure AppFabric at the same time. As it says in that post, if you try to change the URL manually, you end up in this error:

AppFabric ServiceBus Error: “can’t support more than 1 level subdomain”

I read that another possibility is setting environment variables for this, so there’s an even easier way and you don’t have to go through all the config directories, which can create confusion. And when you are done with labs, you will probably run into an issue when trying to run in Azure Production environment, when you forget to delete the ServiceBus.config configuration.

So, the easy way is to put this at the beginning of your application, service, website (in global.asax), etc.:

   Environment.SetEnvironmentVariable("RELAYENV", "Custom");
   Environment.SetEnvironmentVariable("RELAYHOST", "");
   Environment.SetEnvironmentVariable("STSHOST", "");
VN:F [1.9.11_1134]
Rating: 5.0/5 (1 vote cast)