Preparations

In this tutorial, we will set up a server running on IIS in an independent machine, and then publish and host the Web APIs in the IIS running on this server.

Step 1: Prepare a Windows Server 2019 (64-bit) machine.

Step 2: Make sure the machine can connect to the NuGet site (for installing PowerServer NuGet packages) and the following Appeon sites (through port number 80): https://apips.appeon.com and https://apipsoa.appeon.com (or https://apips.appeon.net and https://apipsoa.appeon.net) (for validating the PowerServer license).

Note

If the machine connects to Internet through a proxy server, make sure to configure the proxy server settings in the PowerServer Web API as well (the ServerAPIs project > Server.json file > "ProxyOptions" block). The password for the proxy server (if any) must be an encrypted value (encrypted by the CustomizeDeploy.dll tool).

Step 3: Configure Windows Defender Firewall on the machine to allow the port number (81 in this tutorial or any port number you choose). The section "Configuring Windows Defender Firewall" has detailed instructions.