I am generating a URL through the Azure libraries and I get a URL, which works correctly. The problem is when I use the generated URL in Blazor, it encodes it and modifies the token, so it is not valid to access the image.
Generated URL:
URL that blazor modifies:
How can the problem be solved?
I understand the problem is that the "sig=" parameter is modified.
I have used MakupString, but the URL is still modified.
I tried the below blazor server app code and was able to generate the SAS token and see the image.
Code :
AzureBlobComponent.razor :
Output :
It runs successfully as below,
I clicked on Generate SAS URL as below.
Then, the SAS token is generated successfully as below:
I was able to see the image with the Generated SAS URL below.