PowerServer Web APIs

PowerServer Web APIs is an ASP.NET Core application compiled from the PowerServer C# solution. The PowerServer Web APIs (or simply Web APIs, or PowerServer) contains standard REST/JSON APIs, runtime services, and database providers. It works as the back-end which provides data access and services for the installable cloud application.

If you select to deploy to the local Kestrel server from the PowerBuilder IDE, the compiled files for Web APIs will be generated and stored under the ServerAPIs project in the solution (for example, %username%\source\repos\salesdemo_cloud\ServerAPIs\bin\Release\net6.0), and the static files (including the client app, launcher, and runtime) will be generated under the wwwroot folder under the ServerAPIs project (for example, %username%\source\repos\salesdemo_cloud\ServerAPIs\wwwroot).

The compiled files include the final executable (ServerAPIs.exe) and supporting files/folders (*.dll, *.json, *.pdb etc.). For how to run PowerServer Web APIs with Kestrel, refer to Kestrel.


If you select to deploy to IIS from the PowerBuilder IDE, the compiled files for Web APIs will be deployed to the specified IIS web site (for example, C:\inetpub\wwwroot\salesdemo_cloud_API).

The compiled files include the final executable (ServerAPIs.exe), supporting files/folders (*.dll, *.json, *.pdb etc.), and web.config (for IIS deployment). For how to run PowerServer Web APIs on IIS, refer to IIS (in-process hosting).


If you select to deploy to a folder from the PowerBuilder IDE, the compiled files for Web APIs will be placed in a folder (you can move this folder to the hosting environment later such as Docker, Kubernetes etc.). You can also open the PowerServer C# solution in SnapDevelop and then publish the ServerAPIs project to Docker or Kubernetes.

The compiled files include the final executable (ServerAPIs.exe), supporting files/folders (*.dll, *.json, *.pdb etc.), and web.config (for IIS deployment). For how to deploy PowerServer Web APIs to Docker, Kubernetes etc., refer to Server Setup.