<PackageReference Include="Azure.Storage.Common" Version="12.23.0" />

UriExtensions

static class UriExtensions
Extension methods used to manipulate URIs.
public static Uri AppendToPath(this Uri uri, string segment)

Append a segment to a URIs path.

public static string GetAccountNameFromDomain(this Uri uri, string serviceSubDomain)

Get the account name from the domain portion of a Uri.

public static string GetAccountNameFromDomain(string host, string serviceSubDomain)

Get the account name from the host.

public static string GetPath(this Uri uri)

If path starts with a slash, remove it

public static IDictionary<string, string> GetQueryParameters(this Uri uri)

Get the (already encoded) query parameters on a URI.

public static bool IsHostIPEndPointStyle(this Uri uri)

Check to see if Uri is using IP Endpoint style.