Follow up question on this topic.
I have deployed two applications on the same server using the method 2 described in docs. I have both Apps deployed to the main site and both web APIs to a second site on a different port. All works.
Looking at the web config on the route of the main web site it contains a line for one of the applications:
<aspNetCore processPath=".\Othello_cloud_API\ServerAPIs.exe" stdoutLogEnabled="false" stdoutLogFile=".\Othello_cloud_API\logs\stdout" hostingModel="inprocess" />
Everything works and my other application is fine, I just wanted to be clear about this line and why we do not have a line for both applications?
Many thanks
David
If you already have the PowerServer Web API deployed on the second site, you don't need to use the web.config file under your main site to start the ServerAPIs.EXE. You can uncheck the web.config option so that the PowerServer project will not generate it. For more details, refer to this link: https://docs.appeon.com/ps2022r3/Is_web.config_mandatory.html. To learn more about the web.config file, please refer to this: https://docs.appeon.com/ps2022r3/web.config.html
Regards, Logan
Thanks for the confirmation, as you say it works.
I'm using the PowerServer console, which only sees one App on the server, having dug into the code it's not designed to work with multiple apps on the server and that was confusing me.
I now understand. Thanks