I am trying to get a Single Page application to show up in an iframe
on a separate asp.net web application.
I can get just about anything else to show up in that iframe
except single page apps. This is all for testing purposes for a current web application being used so I have to do it this way.
This is the html:
<iframe name="frameMain" width="800" height="450" src="http://localhost:51219 ">
</iframe>
When I debug it I get a 403 forbidden error.
I figured it out. You need to specify the SPA's startup page in the src. I am still not sure as to why it wouldn't just go right to the startup page to begin with.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.