Relative Content

Tag Archive for javascriptc#asp.net-coreblazor-webassembly

How to insert HTML to a Blazor WASM?

I am working on an e-commerce solution. The client side is a Blazor WASM .Net 6 project. I am trying to use a 3rd party payment gateway and unfortunately, their support is very poor. I am trying to progress by trial and error.
On the checkout razor page, I am trying to inject a script that displays credit card info on the page which I am getting this script as a response from the 3rd party gateway API.
Here is the sample script content and the display (https://codebeautify.org/htmlviewer#):