static string GetDownloadUrlFor(ICloudBlob blob)
{
var signature = blob.GetSharedAccessSignature(new SharedAccessBlobPolicy
{
SharedAccessExpiryTime = new DateTime(2050, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc)
}, DownloadPolicyName);
return string.Format("{0}{1}", blob.Uri.ToString().Replace(" ", "%20"), signature);
}