1. Jeff Wilkinson
  2. PowerServer
  3. Wednesday, 16 August 2023 23:16 PM UTC

With PowerServer 2022 R1 I could painfully deploy an App using the SnapDevelop to create the Sites folder where I set the Port Number it will use.  Then I would use the Build and Deploy the create the WWWROOT set of files so that when someone went to the mainsite/appname it would launch (from 80 initially and then use the port it was told in the IIS to use, such as port 5000). 

R1 Example:  https://webserver.somesite.com/testapp (I could have several apps that could be accessed from the main site:  

https://webserver.somesite.com/testapp1 (example port 5001)

https://webserver.somesite.com/testapp2 (example port 5002)

https://webserver.somesite.com/testapp3  (example port 5003) and so on that would route back to the port that app is supposed to run on.

 

With PowerServer 2022 R2, it appears to be more user friendly for deploying as its not using the SnapDevelop and the Build and Deploy to deploy 2 parts or sets of files.  But the issue I have is that now in order to launch the app I have to go the mainsite:[portnumber]/appname 

R2 Example: https://webserver.somesite.com:5000/testapp1 

https://webserver.somesite.com:5001/testapp2

https://webserver.somesite.com:5002/testapp3

https://webserver.somesite.com:5003/testapp4  which is not very user friendly or professional of an web address.

Can someone tell me how to do this in R2 to be more like R1 as for launching from port 80 and it then using the appropriate Port?  What am I missing?  Thanks!

 

Jeff Wilkinson Accepted Answer Pending Moderation
  1. Thursday, 17 August 2023 14:46 PM UTC
  2. PowerServer
  3. # 1

I see the Kernel option if I choose "Within the IDE" but this is how I am deploying it and getting the results I am getting.   See attachment.

Thanks

Attachments (1)
Comment
  1. Logan Liu @Appeon
  2. Monday, 21 August 2023 01:20 AM UTC
Hi Jeff, for how to deploy multiple apps to one site, maybe you can refer to this quick start: https://docs.appeon.com/ps2022r2/quick_start_guide4.html

Regards, Logan
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 16 August 2023 23:45 PM UTC
  2. PowerServer
  3. # 2

Hi Jeff;

  What your describing is using the built-in Kestrel Web Server in R2 for the development environment unit testing. Which is now the default. If you look in the PS Project, you'll see that another option is to also use IIS like before. Under the IIS setting, your deployment model will mirror what you saw in PB 2022 R1.  HTH

FYI: https://docs.appeon.com/ps2022r2/PowerServer_Project_deployment_refactoring.html

Regards ... Chris 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.