- Ensure that you have installed the following nuget packages:
- OpenFin.Net.Adapter (minimum 29.2.0)
- OpenFIn.Net.Adapter.Logs.Serilog (minimum 29.2.0)
- Build the solution without errors
- Navigate to the folder that has the executable, typically this will be in "how-to.v2\use-channels-api\bin\Debug\net6.0-windows"
- Run the Channels.exe twice.
- Click on "Connect To Runtime" in both instances.
Verify that you get the "Connected" message in the red box at the top.
- In one instance click on "Channels Provider Create".
Verify that you get a message "Provider Opened" in the red box at the top.
- In the second instance click on "Connect to Channel".
Verify that you get a message "Client Connected" in the red box at the top.
- Click "Provider Broadcast" in the first instance (see step 6). You should see a message appear under the buttons in the second instance (see step 7).
- Click "Send to Provider" in the second instance, and you should see a message appear in the first instance, under the buttons.
- Please make sure that you click "Disconnect from Runtime" in both instances once you have verified that the tests are working, and prior to closing the windows.