Skip to main content

SimopsConnect Overview

SimopsConnect is a process running on client computer to gather simulator data and send it via AMQP and/or WebSocket.

Getting started

Azure App Configuration

Configuration also uses Azure App Configuration. So for now it needs a connection string set as a user secret:

"ConnectionStrings": {
"AzureAppConfiguration": "Endpoint=https://example.azconfig.io;Id=example;Secret=example"
}

The config points the endpoint where information is sent.

{
"SimopsControl": {
"HostName": "http://localhost:45924",
"FlightsEndpoint": "api/flights",
"AircraftStatesEndpoint": "api/aircraft-states"
}
}

Running for dev

$ dotnet run --project .\SimopsConnect\SimopsConnect.csproj

Publish

Simplest way to publish, is to go into the root/solution folder and execute:

dotnet publish -c Release -r win-x64 --self-contained

Command-line parameters

Some configurations can be overiden by parameter given by command-line:

KeyValue(s)Notes
Messaging:Enabledfalse
Http:AllowImmediateStarttrue

Sources and references