Why does EscapeDataString behave differently between .NET 4 and 4.5? The outputs are
Uri.EscapeDataString(\"-_.!~*\'()\") => \"-_.!~*\'()\"
<
A lot of changes has been done in 4.5 comparing to 4.0 in terms of system functions and how it behaves. U can have a look at this thread
Why does Uri.EscapeDataString return a different result on my CI server compared to my development machine?
or
U can directly go to the following link
http://msdn.microsoft.com/en-us/library/hh367887(v=vs.110).aspx
All this has been with the input from the users around the world.