-
Notifications
You must be signed in to change notification settings - Fork 1
Bootstrap
This project don't have a specific starting order, the worst scenario is when client stars first, let us to analyse this case.
To start the client go inside project folder, open a terminal
, type dotnet run
and press ENTER
.
The client starts and it waits for the worker to run. In this case the connection status is set to DISCONNECTED
and the USB status is set to UNPLUGGED
To start the worker go inside project folder, open terminal
, type dotnet run
and press ENTER
.
When worker starts, the client established a connection with the SignalR hub. Then the client set the connections status to CONNECTED
and the USB status to UNPLUGGED
When client and worker are running normally.
Wait until an USB is plugged in, when this happens the home page is refreshed, the USB status is update to PLUGGED
and the USB serialnumber
is shown.
When the USB stick is unplugged the USB status is then updated to UNPLUGGED
.
This step shows how start client and what browser application page shows.
This step shows how start worker and when browser application page is updated.
This step show how browser application page react when usb stick is plugging/unplugging.