Wisej inside a SharePoint Web Site

0
0

In SharePoint 2010 to 2019 you can host classic ASP.NET application inside the same IIS site.  SharePoint use only “managed path” defined inside the SharePoint web application configuration. I have put the Wisej dll inside the root bin of IIS and modified the web.config with the required changes. Then i create a WiseJ app and put the app files (default.html, default.json and binaries (in bin subfolder) inside a folder named WisejApps.   The url for this app is http://sharepoint/WisejApps/default.html

The default.html is loaded by the browser but the Wisej app did not start (the wisej.wx files is empty)

Attached you can find the web.config. I think that one o more SharePoint setting in web.config is incompatible with Wisej.

Thanks for every help.

Gabriele.

 

  • You must to post comments
0
0

Thank you for reply. I think that the Page Viewer WebPart approach is the simplest and effective. But i want try to make possible the interaction between tha SharePoint Page DOM and the Wisej app. The 2016 and 2019 SharePoint versions have an app model executed outside the SharePoint server process. The interaction is achieved using Javascript in client side and via RestAPI (SharePoint Client Object Model via Javascript inside the browser or C#/VB.NET in case of native .NET apps).

 

  • You must to post comments
0
0

Web config in IIS is hierarchical – it inherits the parent’s site. Sharepoint pretty much takes over everything and I don’t think you can simply put in a web.config in a directory. It doesn’t work even in a plain IIS without sharepoint configuration since you have to convert the directory into an application.

I have tried a simple Page Viewer Web Part in a very old installation of SharePoint that we have and it works without issues. You simply  have to host the Wisej application. See attached screenshot.

Attachment
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.