I have a Blazor Server app hosted on an Azure App Service, which communicates to an on-premises server connected through a VNET on Azure.
I have custom authentication in place where a user will use their login credentials which is validated in the on-premises server which returns a token.
Now my issue is that it seems like there aren't individual instances of the app. I've come to this conclusion because of the following scenario I've encountered:
I have a ZXing barcode scanner which displays a decoded barcode in the following manner:
<input type='text' value='@Barcode' disabled="disabled" />
The value is displayed in the textbox once a barcode is found.
Here is my issue:
- Open the app using live URL on my mobile phone and on my PC
- I scan the code on my phone
- The PC's textbox is updated with the code I just scanned on my phone?
Is there a specific configuration I'm missing or am I misunderstanding how Blazor works?