Our existing VWG application uses Server.MapPath to get the full path to the “HelpFiles” directory under the main web root.
string directory = Context.Server.MapPath(“/HelpFiles”);
How should I accomplish this in WiseJ? Thanks.
Use the regular System.IO classes: Path.Combine(Application.StartupPath, “MyFiles”);
The application path is Application.StartupPath. You also have StartupUri, ExecutablePath, etc.: https://wisej.com/docs/html/T_Wisej_Base_ApplicationBase.htm
please take a look at a similar question and Luca´s answer: