Example #1
0
		public static void MaybeRemakeWebRoleData()
		{
			var webrole_sentinel_uri = BlobStorage.MakeAzureBlobUri("admin", CalendarAggregator.Configurator.webrole_sentinel, false);
			if (BlobStorage.ExistsBlob(webrole_sentinel_uri))
			{
				var list = HttpUtils.FetchUrl(webrole_sentinel_uri).DataAsString();
				GenUtils.LogMsg("status", "worker role remaking wrd for " + list, null);
				var args = new Dictionary<string, string>();
				WebRoleData.MakeWebRoleData();
				bs.DeleteBlob("admin", CalendarAggregator.Configurator.webrole_sentinel);
			}
		}