As a comment to an Azure question just now, @smarx noted
I think it\'s generally better to do blob.Uri.AbsoluteUri than blob.Uri.ToString().
Why not check and use the correct one?
string GetUrl(Uri uri) => uri?.IsAbsoluteUri == true ? uri?.AbsoluteUri : uri?.ToString();