static private GenerateUrl ( string containerName, string blobName ) : string | ||
containerName | string | |
blobName | string | |
return | string |
internal static string GenerateUrl(string containerName, string blobName)
{
if ( IsDevUrl())
{
return string.Format("http://127.0.0.1:10000/devstoreaccount1/{0}/{1}", containerName, blobName);
}
else
{
return string.Format("https://{0}.{1}/{2}/{3}", ConfigHelper.AzureAccountName, AzureBaseUrl, containerName, blobName);
}
}