Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4287

How do I correctly embed an in Blazor? (child App)

$
0
0

I have created a sample blazor webAssembly applcation and wanted to load that in the container app created in blazor standalone webassembly.

I am using iframe to load the child app however it shows

chromewebdata/:1 Refused to display 'https://localhost:7239/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

my code

@page "/"<h3>Main Container Application</h3><iframe width="560" height="315" src="https://localhost:7239/" frameborder="0"></iframe>

Viewing all articles
Browse latest Browse all 4287


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>