/// <summary> /// Gets the value of the request. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="httpRequest">The HTTP request.</param> /// <param name="key">The key.</param> /// <returns></returns> public static T Get <T>(this HttpRequestBase httpRequest, string key) { T defaultValue = default(T); return(httpRequest.Get <T>(key, defaultValue)); }