Every agent requires a start-up configuration JSON file called appsettings.json which must be located in a config folder inside the <agent name>.ConsoleHost project.
It contains
-
a unique module name for the agent
-
a URI for your system's authentication service
-
a URI for your system's configuration service
-
a URI for your system's notification service
-
a URI for your system's VidiCore service
-
a connection string for your system's RabbitMQ service
|
Example appsettings.json |
|
The following file can be used as a blueprint for a start-up configuration
|
Remember to set the "Copy to Output Directory" property of the file to Copy always.