Go programming language

by Euo 16. January 2010 17:53
I just learned today of a new programming language - GO. From their website it is said that Go programming language is simple, fast, safe, concurrent - and fun. And most importantly it is open source. So for those who wants something to play with here is a new language to explore.

Tags:

Development | Uncategorized

playing around with Python after Java

by Euo 15. January 2010 17:43
After almost a month of work porting a Java cloud application from using Amazon S3 to Azure Storage Services. I am now starting to work with application written in Python to also port into Azure from Amazon EC2.

Tags:

Cloud Computing | Uncategorized

correct application root in Azure DevFabric and the Cloud

by Euo 14. January 2010 08:50

In Azure DevFabric when you used: Environment.GetEnvironmentVariable("RoleRoot") you'll get 'AppRoot' as your Role root.It is suffixed to what should be the root in Azure Cloud. For example, in your devfabric your application will reside in 

"C:\Source\MyCloudApp\bin\Debug\MyCloudApp.csx\roles\MyCloudAppWorker\approot\<your binaries goes here>"

 but when you deployed your application in the Cloud it will reside in the root directory like: "E:\<your binaries goes here>" or something.

 I can't find and I don't know how to distinguished when my application is running in DevFabric or Cloud so I use application settings to easily correct/append the root path. 

 In my config I have:

      <!--when in DevFabric use - 'AppRoot'; use blank '' if in Azure-->
      <Setting name="ApplicationRoot" value="AppRoot" />

then from my code I have:

            string root = RoleEnvironment.GetConfigurationSettingValue("ApplicationRoot");

            AppRoot = Path.Combine(Environment.GetEnvironmentVariable("RoleRoot"), root);

 

Tags:

Cloud Computing | Development

About the author

Something about the author

Month List

Page List