1. Sim Joo Pee
  2. PowerServer
  3. Thursday, 9 March 2023 03:51 AM UTC

Hi Sir,

  I have questions about setting up PowerServer. I get very confused and lost after reading all your documents. Can someone assist me to summarize it?

I understand that

1) To deploy my app files, i need a web server.

2) This Web Server need to install Window Server

3) After that installed /setup IIS in this web server. I am confused with FTP server. Can enlighten?

4) We can deploy Web Api to either a Server(.net) or sharing with Web Server?

5) After this, i create powerserver project from powerbuilder.

Please advice. Thank you.

Sim Joo Pee Accepted Answer Pending Moderation
  1. Friday, 10 March 2023 01:19 AM UTC
  2. PowerServer
  3. # 1

Thanks all for the inputs. I appreciate a lot. By the way, i have few more questions, on top of your answer. Thanks again.

3) FTP is one way of transferring the Application Files to the server. You can use any other method to transfer the deployment files to the server.
Question: Is this the ONLY way?Can recommend more?

4) The Web API is a .NET application. You can use a dedicated server, or the same server where you're hosting the application files (on a different IIS Website)
Question: If sharing with web server, any advantage or disadvantages?

5) In theory, this would be the very first step. The PowerServer project will be what generates the files you'll be putting in both the Web Server and the API Server (which might or might not be the same machine)
Question: If not wrong, the API files need to be compiled and build using Snap Develop, then 'copy' this files to .net server. May i know in business, how do you copy these files over? FTP also?

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 10 March 2023 02:19 AM UTC
#3 There is no special requirement how you transfer the app files to the server. FTP, SSH, SCP, etc.

#4 The best practice would be to deploy the Web API to a dedicated server and cluster it with reverse proxy as outlined in this tutorial: https://docs.appeon.com/ps2022/Hosting_Web_APIs_in_Kestrel.html

Yes, you are correct that if you are hosting both the app files and the Web API on the same server, then you need to setup two different IIS Websites.

#5 Yes, the API files need to be compiled, but you don't have to use SnapDevelop. You can use any C# IDE to compile the generated code, such as Visual Studio. After compiled, you can transfer the files to the server the same way as you transferred the app files.
  1. Helpful 1
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Thursday, 9 March 2023 23:36 PM UTC
  2. PowerServer
  3. # 2

FYI -
     FTP = File Transfer Protocol
    The one I use is FILEZILLA - https://filezilla-project.org/

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Thursday, 9 March 2023 16:52 PM UTC
  2. PowerServer
  3. # 3

We have step-by-step tutorial how to deploy the Web APIs to remote server Windows or Linux: https://docs.appeon.com/ps2022/Hosting_Web_APIs_in_Kestrel.html

 

 

Comment
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Thursday, 9 March 2023 14:30 PM UTC
  2. PowerServer
  3. # 4

Hi Sim,

1) Yes, you need a web server to enable clients to download the CloudAppInstaller, and host the application files that the CloudAppInstaller will download

2) It's not required to be Windows Server, you can use pretty much any web server. We have tutorials on using Nginx and Apache on both Windows and Linux.

3) FTP is one way of transferring the Application Files to the server. You can use any other method to transfer the deployment files to the server.

4) The Web API is a .NET application. You can use a dedicated server, or the same server where you're hosting the application files (on a different IIS Website)

5) In theory, this would be the very first step. The PowerServer project will be what generates the files you'll be putting in both the Web Server and the API Server (which might or might not be the same machine)

Hope this helps!

Regards,
Francisco

 

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.