request physical path razor pages view code example
Example: render html contents from url in asp.net razor
<div>
@Html.Raw(new System.Net.WebClient().DownloadString("http://hostName/HTML-file-name/"))
</div>
<div>
@Html.Raw(new System.Net.WebClient().DownloadString("http://hostName/HTML-file-name/"))
</div>