Is there a difference between Server.UrlEncode and HttpUtility.UrlEncode?
HttpServerUtility.UrlEncode
will use HttpUtility.UrlEncode
internally. There is no specific difference. The reason for existence of Server.UrlEncode
is compatibility with classic ASP.