Running Web APIs with Kestrel

Following are instructions for running the Kestrel in the production environment.

To run PowerServer Web APIs on Kestrel in the production environment:

  1. Go to the PowerServer C# solution > ServerAPIs > bin > Release (or Debug) > net6.0 folder (for example, C:\Users\appeon\source\repos\salesdemo_cloud\ServerAPIs\bin\Release\net6.0).

    When the PowerServer C# solution is generated, the Web APIs is compiled (with Debug or Release mode) and all files (such as configuration files, assembly files, dependencies, .NET runtime etc.) required to run the app are included.

  2. Copy all files from the folder to the production server.

  3. Run the ServerAPIs.exe file in the same folder, in the following ways: