Currently Wisej supports only Internet Information Server on Windows. After the first release, we will start adding support for Apache and other servers and interfaces.
Basic steps to deploy a Wisej application:
Create an application in IIS
Make sure that the IIS application uses a .NET 4.6 Application Pool with the Integrated managed pipeline mode. We recommend to create a new Application Pool for your Wisej application.
Create the /bin directory
Create a /bin directory inside the application's folder in IIS.
Copy the application's assemblies to /bin
In addition to your application's DLL, copy also Wisej.Framework.dll. If your application uses additional Wisej extensions, copy also all the Wisej.Web.*.dll and Wisej.Ext.*.dll files
Copy the /Themes folder, if it exists.
Copy the /Images folder, if it exists.
Copy the /App_Data folder, if it exists.
Copy the application's HTML and JSON files.
The deployment steps when using Cassini/UltiDev are identical to the deployment steps outlined for Internet Information Server. The only difference is that the Web.config file needs to be modified to use the ASP.NET classic pipeline instead of the integrated pipeline.
Add the following settings to Web.config inside system.web and everything should work.
Cassini/UltiDev doesn't support WebSocket connections.
<system.web> <httpRuntime targetFramework="4.6" maxRequestLength="1048576"/> <compilation debug="true"></compilation> <httpHandlers> <add verb="*" path="*.wx" type="Wisej.Core.HttpHandler, Wisej.Framework" validate="false"/> <add verb="*" path="*.wx/*" type="Wisej.Core.HttpHandler, Wisej.Framework" validate="false"/> </httpHandlers> <httpModules> <add name="Wisej" type="Wisej.Core.HttpModule, Wisej.Core"/> </httpModules> </system.web>
Since Wisej projects are standard Web projects in Visual Studio, you can use Microsoft's web publishing tool built-in Visual Studio.
Wisej needs the ASP.NET trust level to be set to Full.
Most share hosting providers allow for the ASP.NET trust level to be change to Full or already default to Full.
The project's root directory needs to have full write permissions for the application's pool user or IIS_USRS.