I’ve downloaded the OWIN extension, but Wisej.HostService.exe is not present in the files.
Assume I have to load the relevant project and compile it myself?
However, I’m getting all kinds of errors when I try to build Wisej.HostService:
1>—— Rebuild All started: Project: Wisej.HostService, Configuration: Debug Any CPU ——
1>Project file contains ToolsVersion=”14.0″. This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion=”4.0″. For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
1>c:\MICHELL\PROJECTS\Wisej\OWIN self host\HostService\Shared\WisejHost.cs(100,16,100,17): error CS1525: Invalid expression term ‘.’
1>c:\MICHELL\PROJECTS\Wisej\OWIN self host\HostService\Shared\WisejHost.cs(100,17,100,24): error CS1003: Syntax error, ‘:’ expected
1>c:\MICHELL\PROJECTS\Wisej\OWIN self host\HostService\Shared\WisejWorkerRequest.cs(132,14,132,15): error CS1525: Invalid expression term ‘.’
1>c:\MICHELL\PROJECTS\Wisej\OWIN self host\HostService\Shared\WisejWorkerRequest.cs(132,15,132,24): error CS1003: Syntax error, ‘:’ expected
1>c:\MICHELL\PROJECTS\Wisej\OWIN self host\HostService\Shared\WisejWorkerRequest.cs(133,27,133,28): error CS1525: Invalid expression term ‘.’
1>c:\MICHELL\PROJECTS\Wisej\OWIN self host\HostService\Shared\WisejWorkerRequest.cs(133,28,133,34): error CS1003: Syntax error, ‘:’ expected
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
I’m using Visual Studio 2012 Pro.
Do I assume I need a later version of Visual Studio? (2015 or even 2017?)
Hi Luca! If I using Wisej.HostService.exe, for each client I saw that the Wisej.HostService.exe application will increasing about 10MB of RAM and didn’t release after client disconnect or close. That may by increase from initial 13MB to ~1GB RAM or more. How to fix this?
The HostService extension is provided with the source code to be compiled to match your requirements. There are many OWIN middlewares that you can add to your host service to add authentication, filtering, logging, etc. Basically it lets you build your own web server with the features you need. The one we provide is the base skeleton. For example, we have included the file system middleware to browser files, but you may want to remove it.
The same goes for the Standalone exe. We provide the basic window and two options (IE and Chrome). Usually a final project wants to change the logo at startup, the loader, the exe icon, and maybe add a toolbar or status bar or other controls.
You also may want to change the default port. Or may want to handle certain requests in a custom way. To compile it you need VS2015 because the code uses some constructs available with the C# 6 compiler.
I have attached the precompiled exe. Please be aware that Windows 10 (or maybe also 8) will block any service trying to listen to 80 and all domains. So if you want to start the service listening to * and port 80 you need to start it as admin.
To start the one I attached:
We are using it here: http:/demo.wisej.com:8080
Please login first to submit.