harmmeijer
Programmer
I need to urlEncode and urldecode (escape and unescape in javascript) some strings.
Problem is that the methods used in .net (UrlEncode UrlDecode) are methods of the HttpServerUtility.
I don't have an instance of HttpServerUtility in a windows application.
Examples of these methods all assume that your project is a asp.net app.
Is this a logical mistake of MS assuming that you only need to encode to URL and URL decode in an asp.net app?
Does anyone know how can I use these functions in a windows application?
Greetings, Harm Meijer
Problem is that the methods used in .net (UrlEncode UrlDecode) are methods of the HttpServerUtility.
I don't have an instance of HttpServerUtility in a windows application.
Examples of these methods all assume that your project is a asp.net app.
Is this a logical mistake of MS assuming that you only need to encode to URL and URL decode in an asp.net app?
Does anyone know how can I use these functions in a windows application?
Greetings, Harm Meijer