What settings can be modified in the solution

The AppModels and ServerAPIs.Tests projects should NOT be modified after generation.

Only a few settings in the ServerAPIs project can be modified. Note: For any setting that is not specified in the following table, please DO NOT modify it.

Settings that can be modified

Where to modify it

Related topics

Environment settings for running the PowerServer Web APIs in the local development environment (including environment type, port number, launch URL etc.)

ServerAPIs project > Properties > launchSettings.json

About PowerServer Web APIs and Kestrel

Run the PowerServer Web APIs

PowerServer settings (including license, host name, proxy settings, email settings, transaction statistics options)

ServerAPIs project > Server.json

What is the PowerServer C# solution

Importing the PowerServer license

Configuring the email settings

Current DB connection profile

ServerAPIs project > AppConfig > AppConfig.json

Create the DB connection profile

Database connection settings (including cache name, database type, data source settings, and some additional settings)

ServerAPIs project > AppConfig > Applications.json or Applications.[DBConnectionProfile].json > "Connections" > "Default" > [cache name]

("Default" refers to the default cache group.)

Configuring the database connection

Managing database caches in the PowerServer solution

Application settings (including transaction-to-cache mappings, timeout values for transaction, session, and request, run mode etc.)

ServerAPIs project > AppConfig > Applications.json or Applications.[DBConnectionProfile].json > "Applications" > [app name]

Configure the timeout settings

Managing transaction-to-cache mappings in the PowerServer solution

How to switch to the test mode

Log settings for PowerServer

ServerAPIs project > Logging

Configure log settings