I\'m trying to encode a URL using the HttpUtility.UrlEncode() method, why am I getting
HttpUtility.UrlEncode()
The type or namespace name \'HttpUtility\' does not e
For people using .NET 4.0 or later, you can use WebUtility.UrlEncode which works with client profile (does not require System.Web assembly reference).