Requesting a file with encoded chars (like the space in http://127.0.0.1/test 1.html) won't work, since the file service can't find the file test%201.html.
So the GetFullPath method should do
relativeUri = HttpUtility.UrlDecode(relativeUri);
I suggest using the Mono code, so you don't get a dependency on System.Web (with System.Web the .Net client profile wouldn't work anymore).
Requesting a file with encoded chars (like the space in
http://127.0.0.1/test 1.html
) won't work, since the file service can't find the filetest%201.html
.So the GetFullPath method should do
relativeUri = HttpUtility.UrlDecode(relativeUri);
I suggest using the Mono code, so you don't get a dependency on System.Web (with System.Web the .Net client profile wouldn't work anymore).