Sharing Properties between Windows Azure Role Instances

Depend on what kind of information you would like to share you can choose different methods to share specific information.

 

If your objective is to share continuous information which is generated regularly then “Windows Azure Storage Queue” are the best choice which can be used as message communication framework between your roles.

IF your objective is to share general property info which is generate during role startup or the information is provided once, then you have few options:

- The simplest way you can write this information as text blob at your Windows Azure Storage.

- Or you can use Windows Azure Table Storage and share as an entity in specific table.

- Or If you are using SQL Azure, you can add that information in a row in your specific table this way it can be share between multiple instances.