You are not logged in.
Pages: 1
I have some unique requirements for this project. The rest server needs to be a dll to run in IIS.
There are special issues that I must know or I just have to compile the .dpr as a library?
Thank you.
Last edited by Junior/RO (2014-06-06 22:43:54)
Offline
Why use IIS for hosting?
Mormot server is based on the same http.sys core.
So you can share the URL and port.
And you will have better performance and stability to bypass IIS.
Hosting in IIS as DLL is not supported nor worth it.
You should better not install IIS at all and serve all content via mormot, including static files.
Offline
It's a hosted enviroment in the internet provider of my client. I can't do anything about this. Must be IIS.
mORMOt will not run in this cenario? Will have less then 100 connections / day, performance is not high priority.
Offline
There is no IIS DLL wrapper available for mORMot yet....
Just tell your client that it is safer to have the mORMot server hosted as a service instead of within IIS. And it is perfectly compatible with IIS since both rely on the same http.sys kernel mode server.
If you are really forced to use a IIS DLL, so you can use a Delphi standard webbroker component, and call a mORMot's TSQLRestServer instance directly. It would work perfectly.
Offline
How can I call TSQLRestServer inside of a web broker's event? Please show me some pseudo-code.
Last edited by Junior/RO (2014-06-10 19:23:35)
Offline
Well, the internet provider helped and will let a .EXE run in their CGI-BIN directory. Let's the tests begin.
Offline
Pages: 1