Startup Tasks for Windows Azure Roles
Windows Azure supports startup tasks that can be use to perform operations and install components before your Azure Role starts on Virtual Server. You can use to startup tasks to install other software, register COM components, setting registry keys, start another process, etc. This is very useful in many situations where you might want to running an initialization scripts, execute batch files and PowerShell scripts etc before your Role starts. In the past, I had used a startup task to install ASP.NET MVC 3 when ASP.NET MVC 3 web role was not supported. You can add startup tasks by editing the ServiceDefinition.csdef file. The below configuration in the Service Definition file will add a startup task.
Visual Studio Enhancements in Windows Azure SDK 1.6 for Publishing Apps
The new Windows Azure SDK 1.6 is providing many enhancements including a better experience for publishing Windows Azure applications using Visual Studio. To publish an application onto Azure, do the following steps.