更新时间:2023-02-14 23:42:00
嗨Reza,
wordpress网站和ASP.NET核心应用程序托管在同一台服务器上(Windows / Linux)?
您可以创建一个包含iframe的页面,其源代码指向ASP.NET Core页面。
< iframe src = " HTTP:// aspnetcoreapp / loginpage"宽度= QUOT; XX"高度= QUOT; XX">< / iframe中> 跨度>
Is it possible to have my landing page (root url www.xxx.com) be a wordpress site hosted in azure and also have a azure asp.net core mvc web app live together? the asp.net website would start from a login page that I can redirect from the wp landing page (www.xxx.com/login).
If possible, can someone direct me on how to accomplish this? I've done some searching around, but haven't found anything concrete.
You are so wise...like a miniature budha covered in fur. -Anchorman
Hi Reza,
Are the wordpress site and ASP.NET core app hosted on same server (Windows/Linux)?
You can create a page that has an iframe and the source of that points out to the ASP.NET Core page.
Example:
<iframe src="http://aspnetcoreapp/loginpage" width="xx" height="xx"></iframe>