question

PabloArthurRodger-1869 avatar image
0 Votes"
PabloArthurRodger-1869 asked AnuragSharma-MSFT commented

Cryptographyc errors while saving data into Azure-Table-Storage from Blazor.

I am developing a BLAZOR application (Core 5.0), but this errors keeps coming out!!! 'System.Security.Cryptography.Algorithms is not supported on this platform.' . I am just trying to write in Azure Table Storage. I believe this is something very simple, BLAZOR writing into Azure Tables. but it seems like a impossible task.

First I have use the COSMOS DB API (latest version), and I got the error 'System.Security.Cryptography.Algorithms is not supported on this platform.', I thought maybe going to the Azure.Data.Table library for .NET (latest version) will solve my problem but I am still getting the same error? 'System.Security.Cryptography.Algorithms is not supported on this platform.'

I believe I am doing something wrong because this should have been possible for years...... Can you please, please, please, please, let me know what I am doing wrong?

dotnet-aspnet-core-blazorazure-table-storage
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @PabloArthurRodger-1869, please let us know if you have any further query. You can accept the answer if it helped.

0 Votes 0 ·
AgaveJoe avatar image
0 Votes"
AgaveJoe answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Bruce-SqlWork avatar image
0 Votes"
Bruce-SqlWork answered

for blazor client (wasm), you will want to use the javascript libraries:

azure table store:

https://docs.microsoft.com/en-us/javascript/api/overview/azure/data-tables-readme?view=azure-node-latest

cosmos db:

https://docs.microsoft.com/en-us/javascript/api/overview/azure/cosmos-readme?view=azure-node-latest

you can use blazor interop to call the javascript libraries. you might want to create a blazor wrapper.

note: blazor (or any wasm) can not really make network calls, it must call javascript to do the call. The Blazor runtime just makes interop calls to the javascript, so it is not a the same as the actual .net core network library

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.