I am compiling a fast data service in WCF to access a public Silverlight 2.0 application. Since my data is very static and relatively simple, I would just like to save it in local XML files (which was simplified, since there is a VERY limited number of people who will ever edit it).
I am wondering what is the best way to find the relative path from my service. In traditional ASP.NET, I could use Server.MapPath .... nothing like this is available inside this WCF service. This solution will ultimately be hosted by the hosting provider. I cannot control, therefore I cannot fix any fixed locations. I would rather just get the relative path to some XML files in the AppData folder.
Any suggestions?
wcf
Kevin grossnicklaus
source share