One thought on “What is the difference between Server.UrlEncode vs. HttpUtility.UrlEncode

  1. Hello James

    HttpServerUtility.UrlEncode will use HttpUtility.UrlEncode internally. There is no specific difference. The reason for existence of Server.UrlEncode is compatibility with classic ASP.

    Will

Comments are closed.