I want to know if there is a best practice document to install PowerServer 2022 R3 build applications and web APIs. We have 5 applications with 5 WEB APIs. How should we install this in IIS so it runs smoothly.
As an example I created a site for 2 application and 2 Web APIs as shown in the attached image.
I created 2 sites - one for the set of applications and one for the set of APIs
site 1 : mpssuite has 2 applications both of which has the same application pool
site 2 : webapis has 2 apis and each of the apis has its own application pool
When I launch the application, the CloudAppPublisher link points to the a folder in the mpssuite root folder and not within the application. So, I had to manually copy the CloudAppPublisher folder under c:\inetpub\wwwroot folder. Not sure why the link is not pointing to the CloudAppPublisher folder within each of the application folder.
Looking for advice on what is the best practice for installing multiple applications and web apis.
1st issue - the link you sent gives an example of 2 applications residing in the same sub-folder. Not sure how it would work since web.config for each application will be overwritten. The setup we are using is as follows:
c:\inetpub]wwwroot\application1folder\applicaton 1 and web api sub folders reside here
c:\inetpub]wwwroot\application2folder\applicaton 2 and web api sub folders reside here
So, when you launch application 1 then it is looking for CloudAppPublisher folder under neat c:\inetpub\wwwroot and not under c:\inetpub\wwwroor\aaplication1folder\ so it doesn't launch CloudAppLauncher.
2nd issue - I deleted the Roaming\PBApps folder and re-ran the application and it worked.
If you are using the IIS sub-app the web.config under the Web API folder will be used to start the Web API, the web.config generated by the PowerServer project is not required. Refer to: https://docs.appeon.com/ps2022r3/Is_web.config_mandatory.html
You can configure the apprun,json file for your app to decide where to download the Cloud App Launcher. Refer to: https://docs.appeon.com/ps2022r3/Concepts_Client_app.html
Regards, Logan
Thanks for the quick response and the links. This helps.