I would like to create a mixed regular asp.net and wisej application.
In this case
at the same time i would like to have
I know that I could do this with two separate projects asp.net for root and wisej that could be deployed to subfolder,
but as I would like to reuse some common classes and dataset I would prefer info if this is possible.
I know that some thing should be possible by playing with Default.json and Program.cs
Thankx for info,
Wisej applications are ASP.NET applications. You can add any aspx page, or php or anything that the browser can load. All wisej needs is the browser to load the wisej.wx bootstrap script.
The Default.html (or Index.html, etc.) is loaded without being in the URL simply because it’s the defaultDocument in web.config. It could be anything. Otherwise you’d have to load it using http://myapp/Page1.html.
Additionally, Wisej registers a module that is able to load the page without the extension if it finds the .json file. For example, if you rename Default.html and Default.json to Admin.html and Admin.json (in the json also change the redirection to Admin.html) and you don’t change the default document, you can start Admin by using http://myapp/admin which is identical to http://myapp/admin.html.
Basically a Wisej project can run multiple wisej applications with multiple entry points.
I also tried with a sub folder, like http://myapp/test/admin but cannot reproduce the error. There must be a misconfiguration somewhere. In any case, you don’t need to create a sub directory for the html and json files.
If you still have the problem, please attach a small sample app.
managed to find solution.
So there is option to add the separate Wisej Application to the same project. I have modev <app>.cs, <app>.json and <app>.html to a new folder. Renamed <app>.html to Default.html and Wisej app is now loading.
But look like there is issue with license (license is added to web.config) but i am getting the error – see attachment.
Please login first to submit.