1. Home
  2. Docs
  3. UniREST Solution 3.5
  4. UniREST Server
  5. UniREST Client Config

UniREST Client Config

Since the UniREST Server application and the UniREST Client asset have to be able to communicate and exchange data, they must be properly configured, so as “they can talk to each other with the same language“.

The first time you install the UniREST Server application, it generates two secret keys. Those keys will be used to encrypt and decrypt the messages that the UniREST Server and the UniREST Client will exchange.

This means that the UniREST Client must be configured with the UniREST Server's secret keys used to encrypt and decrypt the communications.

The Client Config script

In order to make the UniREST Client configuration simpler, the UniREST Server application has a built-in feature that generates the C# script containing the secret keys and the configuration data to copy and paste in the UniREST Client’s UniRESTClientConfig.cs file.

The generated C# script has the task of:

  • providing the secret keys for communicating with the UniREST Server;
  • specifying the base HTTP URL for calling the APIs;
  • build a set of classes and variables for making the client-side development simpler and faster.
Keep in mind that the UniREST Client Config script must be generated every time you modify the Database and/or the APIs system.


To help you not forget it, when you change your Database tables or save your API, a “reminder” icon will appear on the [CREATE CLIENT CONFIG] button.


To generate the C# Script just click the [CREATE CLIENT CONFIG] button.

Then copy the generated C# code and paste it into the UniRESTClientConfig.cs file of the UniREST Client asset.

Include APIs Description

When flagged, inside the C# Script, the APIs URLs will contain their description in the <summary> tags, so as the description will appear in the Visual Studio Intellisense. This option is saved in the system.