Last post Jun 19, 2020 01:27 PM by Shamus Fuller
Jun 18, 2020 08:03 PM|Shamus Fuller|LINK
I posted this in azure and asp.net forum a few minutes ago because I did not know there is a Blazor forum. I think this question might be more appropriate for this forum:
Attempting to use Microsoft.Azure.ServiceBus.TopicClient from a Blazor Wasm app seems to produce "Operation is not supported on this platform." However, I am not convinced as the debugging tools, modules, etc are now all 100% working either.
Is this supposed to work, or is the scenario not yet supported?
Jun 19, 2020 01:18 AM|bruce (sqlwork.com)|LINK
No. You will need to call a web server to make the call. You should be able to call service bus rest api (I believe it supports CORS now)
Blazor programs are not compiled to web assembly. They are standard .net dlls, that the blazor runtime executes.
Jun 19, 2020 01:27 PM|Shamus Fuller|LINK
I expected that may be the case. Thank you for the reply, saves us a lot of time trying to get something to work that fundamentally is not a solution. We'll take a look at the REST API and some other options.
Thank you again