Azure has been offering a preview of possible future features for a long time now. SQL Azure has SQLAzureLabs (http://www.sqlazurelabs.com), and AppFabric has AppFabricLabs (http://portal.appfabriclabs.com).
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: http://blogs.msdn.com/b/piyushjo/archive/2011/09/27/azure-service-bus-working-with-the-appfabriclabs-account.aspx
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", "servicebus.appfabriclabs.com"); Environment.SetEnvironmentVariable("STSHOST", "accesscontrol.appfabriclabs.com");
For those of you that have been playing with AppFabric Labs, take into account the following announcement.
If you’ve been doing tests, they are letting us know that after the scheduled tasks, current configurations will not be maintained and you’ll need to backup and restore them manually.
Buenas, les dejo disponible la ppt de la charla del sábado del CodeCamp y la demo. Espero que les haya gustado, les confieso que al principio traicionaron un poco los nervios.
Pronto estaré publicando algunos posts extendiendo el site de la demo con mas funcionalidades haciendo uso de differentes features de Access Control y Service Bus. Seguramente también, algo manejo de queues en los worker roles.
También les comparto alguns links importantes para poder arrancar con una buena lectura y resolver los problemas más comunes: