Click or drag to resize

Deployment

Deploying a Wisej application is extremely easy. It uses only a handful of assemblies and all the required functionality is embedded in the Wisej core assembly, including the javascript framework and various resources.

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.

Internet Information Server

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.

  • Copy Web.config.

Cassini/UltiDev

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.

Important note Important

Cassini/UltiDev doesn't support WebSocket connections.

Classic Pipeline Settings
<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>
Visual Studio Publishing Tool

Since Wisej projects are standard Web projects in Visual Studio, you can use Microsoft's web publishing tool built-in Visual Studio.

Trust Level

Wisej needs the ASP.NET trust level to be set to Full.

Shared Hosting Restrictions

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.

See Also

Other Resources