The Server.URLEncode method in classic asp worked great: it only encoded invalid url characters, producing a legal url string.
The URLEncode method I found for asp.net behaves strangely: it encodes EVERY character (maybe except for alphanumeric chars. . .??) in a url, even the legal ones.
so the following illegal url SHOULD be coded as
special folder/my page.html
the .net version even encodes the forward slashes (legal in url), so the resulting url is *wrong*
So: Is there a method in .net that behaves exactly like classic asp's Server.URLEncode() method?