<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.0.0-beta1" />

UriExtensions

public static class UriExtensions
Contains extension methods to allow strongly typed objects to be read from the query component of Uri instances.
public static NameValueCollection ParseQueryString(this Uri address)

Parses the query portion of the specified URI.

public static bool TryReadQueryAs(this Uri address, Type type, out object value)

Reads HTML form URL encoded data provided in the URI query string as an object of a specified type.

public static bool TryReadQueryAs<T>(this Uri address, out T value)

Reads HTML form URL encoded data provided in the URI query string as an object of a specified type.

public static bool TryReadQueryAsJson(this Uri address, out JObject value)

Reads HTML form URL encoded data provided in the Uri query component as a JObject object.