1
I have an Asp.net application and I need to put it inside an Iframe.
Turns out it gives Chrome console error:
Refused to display 'domain' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
In Mozilla it does not give error, and also shows nothing.
Webconfig is already like this:
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
I don’t know what to do.
Can I do this on IIS somehow? I’m avoiding republishing the app
– Jhonathan
In theory it has, but it doesn’t work right. This is the best alternative.
– Leonel Sanches da Silva