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://docs.wisej.com/api/wisej.web/general/application
/Luca
Hi Andrew,
please take a look at a similar question and Luca´s answer:
https://wisej.com/support/question/access-directory-structures-and-contents-on-server
Best regards
Frank