Can I move the default.html in a subfolder?
If I do it Wisej does not find the resources. Not found:
Another question: Can I move the default.json in a subfolder?
Thank you for the reply.
I think the limit is too restrictive.
Especially in migration cases (or sharepoint context), subfolders are essential. Do you plan to introduce them in the upcoming releases? it could be an initialization parameter, for example in the “Main” program.
The goal would be to include “wisej.wx” in the pages in subfolders.
It would be great that it was configurable runtime, when initializing the application (both html and json)
No, it’s like web.config. Subfolders are used by the application for content.
But, withj Wisej you can have sub-applications: see https://wisej.com/docs/html/Configuration.htm Last section, OK we can write a bit mora about it 🙂
Practically, you can have additional .json and html files in the same project or the same folder. Each json file is an application. For example:
\Default.json and Default.html => http:\\localhost
\Admin.json and Admin.html => http:\\localhost\admin
and so on.
In Admin.json you can setup a different startup method (i.e. Admin.Main) or reuse an existing one. Or you can setup a different main window. Or you can simply change the startup url, you can reuse Default.html and maybe add an argument, or use a different one like Admin.html.
This is how we manage the demo server. We simply upload using ftpzilla a new MyCoolDemo.json/MyCoolDemo.html and /bin/MyCoolDemo.dll. And that’s it. The server will automatically respond to http://server/MyCoolDemo
Please login first to submit.