G
GeezerButler
The URI class seems to be able to load a file on local machine where
the path is absolute i.e. like D://abc.xml.
The funny part is that if i make a WebRequest to request this uri, i do
get a response? (I wonder how).
Note: I do not have IIS installed.
So i was wondering if it would be able to load a filepath that is
relative to my dll/exe. Something like ../my folder/abc.xml.
But the URI class fails to load this string, saying that it is in
invalid format.
Is it somehow possible to load a filepath relative to my dll/exe.
BTW i need to do this to test my app's behaviour with different xml
files.
Is it possible to setup some kind of a local server on my machine
(without having IIS)?
the path is absolute i.e. like D://abc.xml.
The funny part is that if i make a WebRequest to request this uri, i do
get a response? (I wonder how).
Note: I do not have IIS installed.
So i was wondering if it would be able to load a filepath that is
relative to my dll/exe. Something like ../my folder/abc.xml.
But the URI class fails to load this string, saying that it is in
invalid format.
Is it somehow possible to load a filepath relative to my dll/exe.
BTW i need to do this to test my app's behaviour with different xml
files.
Is it possible to setup some kind of a local server on my machine
(without having IIS)?