To use the attached sample you will need to make only 2 changes:

1. Please edit the ServiceConfiguration.cscfg to include your correct Windows Azure Storage Credentials:

         <Setting name="DiagnosticsConnectionString" value="DefaultEndpointsProtocol=https;AccountName=<StorageAccountName>;AccountKey=StorageAccountKey” />
         <Setting name="StorageAccount" value="DefaultEndpointsProtocol=https;AccountName=<StorageAccountName>;AccountKey= StorageAccountKey" />
         <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=<StorageAccountName>;AccountKey=StorageAccountKey" />

2. You can replace the contents of RubyApp folder with your Ruby on Rails application.

After it please test the application in compute emulator and then package the application and deploy in Windows Azure.

More Info:

Ruby on Rail in Windows Azure Part 1:

http://blogs.msdn.com/b/avkashchauhan/archive/2011/04/26/ruby-on-rails-in-windows-azure-part-1-setting-up-ruby-on-rails-in-windows-7-machine-with-test-rails-application.aspx

Ruby on Rail in Windows Azure Part 2:

http://blogs.msdn.com/b/avkashchauhan/archive/2011/04/26/ruby-on-rails-in-windows-azure-part-2-creating-windows-azure-sdk-1-4-based-application-to-host-ruby-on-rails-application-in-cloud.aspx

Last edited Apr 26, 2011 at 11:44 PM by Avkash, version 2

Comments

No comments yet.