Monday, October 3, 2011

Windows Azure SDK 1.5 Update released!

It appeared that there is a bug in the Windows Azure SDK 1.5, which was released in September after Build Conference. The development team has been working hard to provide a fix for this issue. You can read more about the issue here and here, and download the new update from here (just click “Get Tools and SDK”).

Note, that this is just an update, you do not need to uninstall v.1.5 of the SDK to apply this update. But you’ll have to update the reference to Microsoft.WindowsAzure.StorageClient.dll in all your projects that were upgraded to v.1.5.

Monday, September 26, 2011

Geo-Replication for your Windows Azure Storage accounts at no cost!

Amazing news came from the BUILD conference. One such news is the great new feature of Windows Azure StorageGeo-Replication for your data at *no additional cost*!

Isn’t it great? Out of the box, without additional cost, Microsoft is maintaining additional copy of all your storage data in another data-center in same region. For example if you selected West Europe for your storage account location, the geo-replica is kept in North Europe! Everything is done without breaking the current Windows Azure Storage services durability. Understand that there the multiple (likely 3!) copies of your data at both data centers! Hundreds of kilometers away. At no cost (0 Euro)! So in case a major disaster event happens in your “primary” datacenter, all of your data is recoverable at the second one!

All of this – for durability! Make sure you won’t lose any data stored in Windows Azure Storage!

No, currently you can’t use the secondary copy of your data, you don’t even see this in the management portal. So you can’t use this feature for geo-distributed application! But hey, there is the Windows Azure CDN to fulfill that purpose!

Thursday, September 15, 2011

Windows Azure Development Cookbook by Neil Mackenzie

2220EN_Microsoft Windows Azure Development Cookbook_covRecently a new book on Windows Azure was published: Windows Azure Development Cookbook! And it’s not yet another book on the subject! The great about this book is that its author is a fellow Azure MVP - Neil Mackenzie and the team of technical reviewers include Brent Stineman, another great name on the Windows Azure arena.  Both of them are amongst the top answerers in the Windows Azure forums, so be sure that this book includes a lot of gems from both real-world Azure application development, and real-world questions and answers. The fabulous world we live in, allows us to get this book in a format for variety of e-book readers so we can have it us wherever we go! Another good reading for any Azure enthusiast!

Windows Azure SDK 1.5 / Windows Azure Tools for Visual Studio 1.5

It’s great time, and it will become even greater! The new Windows Azure SDK 1.5 and Windows Azure Tools for Visual Studio 2010 are already LIVE! You can download it directly from the inline link (http://www.microsoft.com/download/en/details.aspx?id=27422) or use the Web Platform Installer. Another exciting release is the Windows Azure AppFabric SDK 1.5!

Amongst all the new goodies in Windows Azure SDK are:

  • Re-architected emulator, which enables higher fidelity between local and cloud developments.
  • Support for uploading service certificates in csupload.exe.
  • A new csencrypt.exe tool to manage remote desktop encryption passwords.
  • Enhancements in the Windows Azure Tools for Visual Studio for developing and deploying cloud applications.
  • The ability to create ASP.NET MVC3 Web Roles and manage multiple service configurations in one cloud project.
  • Improved validation of Windows Azure packages to catch common errors like missing .NET assemblies and invalid connection strings.

Even greater news is the totally new and fresh Windows Azure Toolkit for Windows 8!

You can read the full story here: http://blogs.msdn.com/b/windowsazure/archive/2011/09/14/just-announced-build-new-windows-azure-toolkit-for-windows-8-windows-azure-sdk-1-5-geo-replication-for-azure-storage-and-more.aspx

Wednesday, August 17, 2011

Windows Azure Configuration Settings per build configuration (2)

It was not too long ago when I blogged about how to configure your Cloud Service project to respect build configurations and transform your CSCFG file based on this.

Things change though! The Windows Azure team is not sleeping and is constantly improving the development experience for the platform. One of the new features introduced with the latest Windows Azure Tools for Visual Studio 2010 (August 2011 update) is the Configurations manager:

This new manager allows you to keep more than one service configuration! Please remember that Service Configuration is not Service Definition! You still have the single Service Definition, but you can have multiple Service Configurations. Using it is so easy. Just right click on your Cloud project and select “Manage Configurations”:

There are additional options in the typical Role configuration screens, so you can manage the configuration settings per configuration:

For each configuration you create, the manager automatically adds a configuration file to the project. Naming convention follows the naming convention of the Web Projects we used to see:

Now, when you deploy your cloud project, the Publish screen had some more features, and one of them is a drop down menu with all configurations you have:

You may also have noticed that right from the Publish screen, there is also an option to chose the Build Configuration.

Although this is a great step toward making developer’s life easier I would set a couple of cons for this new feature:

  • There is no option to choose which configuration to use when debugging. If you use the default configuration files, which are created with a new project, then the “.Local.cscfg” is automatically used when using local compute emulator. But if you have existing project and you add new service configuration, then the original one, or the “Default” is used. “Default” configuration is the one that has no addition extension (i.e. ServiceConfiguration.cscfg)
  • We are forced to maintain two copies of the same file (Configuration settings). For me particularly mine approach before this tools update was better, in terms that you had to only put changes in different configuration files and not maintain the full set of properties.
  • This totally concerns mine project which still had mine transformations left and using the new tools, but having only single configuration in the Configuration Manager: the deployment did not take mine transformed file, but the original configuration file which was defined in the Configuration Manager! So be warned: if you were using the configuration transformation solution from my previous blog post, remove it and use the new Configuration Manager instead!

2011-08-23 Update on the first bullet:
There is an option to choose which configuration to be active during development/debugging. You need to go to Properties for the Cloud project, then select the “Development” tab. And there you will see similar screen with options to select which will be the “development/debugging” configuration: