Web Deployment on IIS: Standalone v.s. CGI

I’m getting a little worried about the lack of dialog and detailed docs on deploying web apps in a Microsoft world.
Should I be?

Standalone v.s. CGI - any articles anywhere discussing pros and cons?

There is some information here about standalone vs. CGI:

I wrote about deploying a standalone web app as a Windows service on our old blog:

[quote=118140:@Frank Russ]I’m getting a little worried about the lack of dialog and detailed docs on deploying web apps in a Microsoft world.
Should I be?

Standalone v.s. CGI - any articles anywhere discussing pros and cons?[/quote]

Being worried when you explore a new field is normal, but you may find that in the end, there are solutions that work. From what I read in this forum, there are successful deployments on IIs.

I saw your last post in the other thread https://forum.xojo.com/8396-deployment-to-iis where it seems difficult to deploy cgi. The nice thing about standalone is that it is basically a Windows app which contains it own server software. So it should work right away on IIs, just as easily as it does when you run your app in the IDE, since the debug app is a standalone.

All is needed to try standalone is to upload the app, then use a command line access to launch it. See the documentation.

The only issue with standalone is that it needs to be run, unlike the cgi which launches automatically upon request from an Internet browser. But I believe there are ways to insure a program is launched upon system start, akin to the Startup folder in desktop Windows. I am simply not very familiar with this aspect of things.

There are people more knowledgeable than me with that particular environment that will be able to help. I just wanted to reassure you.

Hi… I was just trying out this link that P.L. wrote.
http://www.realsoftwareblog.com/2012/03/running-standalone-web-application-as.html

The sc command works to add the service, but when I go to start the service I get an error dialog that says.

Windows could not start the RSWebSvs service on Local Computer. Error: 193: 0xc1

This document i created some years ago is hosted here:
http://osswald.com/xojo/RealStudioWebEditionStandAloneWindowsServerDeployment.pdf

Thanks to @Oliver Osswald for the hosting of the document.

You’d setup a reverse proxy using stand alone.

A more recent version of that blog post is in the docs:
https://documentation.xojo.com/topics/web/run_web_apps_in_the_background.html

Other Windows deployment tips:
https://documentation.xojo.com/topics/application_deployment/web/deploying_web_apps_on_iis.html

I’d be happy to help out using Splashtop to remote access your server if you would like. PM me to arrange a suitable time.