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:
Is there a specific configuration I'm missing or am I misunderstanding how Blazor works?
The cause was the BlazorBarcodeScanner.ZXing.JS, Blazor barcode scanner .
I manually implemented the JS library and my problem disappeared.