public static Uri Url(this HttpRequest request) { return(request != null ? new Uri(request.GetDisplayUrl()) : null); }