Convienience class wrapping access to an HTTP friendly System.Collections.Specialized.NameValueCollection
with a fluent interface.
var parameters = new HttpParams().Add("key", "value")
.Add("otherKey", "otherValue")
var url = "http://domain.com/controller/action?" + parameters.ToString();
Since the HttpParams
wraps System.Collections.Specialized.NameValueCollection
the values are automatically URL encoded when ToString() is called..
To install HTTP Params Utility, run the following command in the Package Manager Console
PM> Install-Package HttpParamsUtility